On Fri, Jun 3, 2011 at 10:32, Guy <[email protected]> wrote: > -- 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 _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
