User:Jalexanderdatkins
Jump to navigation
Jump to search
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 -}
.