Ketil Malde wrote:
Multi line comments are nice for commenting out blocks of code.

They're also nice for comments within a line. E.g. haskell-src-exts contains the declaration

  data HsQualConDecl
          = HsQualConDecl SrcLoc
              {- forall -} [HsName] {- . -} HsContext {- => -} HsConDecl

Probably half of my uses of {- -} begin and end on the same line.

-- Ben

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to