
3 Jun
2011
3 Jun
'11
8:56 a.m.
On Fri, Jun 3, 2011 at 10:32, Guy
-- followed by a symbol does not start a comment, thus for example, haddock declarations must begin with -- |, and not --|.
What might --| mean, if not a comment? It doesn't seem possible to define it as an operator.
GHCi, at least, allows it. Prelude> let (--|) = (+) Prelude> 1 --| 2 3 --Max