User:Jalexanderdatkins
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Sandbox
--
Starts a single-line comment, unless immediately followed by an operator character other than -
:
main = print "hello world" -- this is a comment
--this is a comment as well
---this too
foobar --+ this_is_the_second_argument_of_the_dash_dash_plus_operator
The multi-line variant for comments is {- comment -}
.