Pages
Introduction
Getting Started
Recipes
Reference
Literals
Arrays
Tuples
Type System
Functions
Modules
Records
Enums
Built-in Types
Constants
Equality
Stores
Routing
Comments
Control Expressions
Components
Properties
Computed Properties
Styling Elements
Connecting Stores
Using Providers
Internal State
Referencing Entities
Global Components
Lifecycle Functions
Directives
JavaScript Interop
Environment Variables
Packages
Comments
Mint supports inline comments (single line):
// ...
Multiline comments have the following syntax:
/* ... */
// Set a variable.
let name =
"Joe"
/*
Convert it to upper case.
=> JOE
*/
String.toUpperCase(name)
Mint doesn't have a tokenizer so if there is a place where you would like to use a comment but can't, open an issue!