Personal tools


From HaskellWiki

(Difference between revisions)
Jump to: navigation, search

Latest revision as of 12:19, 13 November 2012


[edit] --

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 -}