MoonBit Language Tour
MoonBit
Table of Contents
basics
variable
numbers
function
block
array
string
tuple
map
if else
loop
for in loop
test
data types
struct
mutable field
enum
option
result
pattern matching
introduction
let and match
constant pattern
tuple pattern
alias pattern
array pattern
or pattern
Back
—
Contents
—
Next
fn
main
{
println
(
"hello, world"
)
}