I Will Learn You A Crucial Bit Of Haskell: Comments

by gabebw

Learn You A Haskell For Great Good! is awesome (so far – I’m on the first chapter), but it’s missing crucial information: how to comment a line in a Haskell file. So here it is.

-- This is a single line comment
{- This is a multiline comment.
It can span more than one line. -}

Thanks to this page for the info. I wonder what a documentation comment is? Oh well, I’m sure I’ll find out.

Advertisements