Quick StartTryGuideAPICommunityBlogGitHub
Search

OverviewSuggest an edit

Primitive Example
Strings "Hello"
Characters 'x'
Integers 23 , -23
Floats 23.0 , -23.0
Integer Addition 23 + 1
Float Addition 23.0 +. 1.0
Integer Division/Multiplication 2 / 23 * 1
Float Division/Multiplication 2.0 /. 23.0 *. 1.0
String Concatenation "Hello " ^ "World"
Comparison > , < , >= , =<
Boolean operations not , && , ||
Reference, Physical (deep) Equality === , ==
Immutable Lists [1, 2, 3]
Immutable Prepend [item1, item2, ...theRest]
Arrays [|1, 2, 3|]
Records type player = {score: int}; {score: 100}