Casey McCann schrieb:
> One drastic approach I've used in personal libraries--operator-heavy
> EDSLs specifically--is to define everything first with alphanumeric
> names, then put operators in their own modules. In some cases I'd have
> three such modules: One providing a minimal set of operators that don't
> clash with anything significant, one providing a larger set of operators
> that clash with one or more common modules (often deliberately, e.g.
> duplicating Arrow combinators for some type with similar semantics but
> no valid Arrow instance), and one providing a bunch of gratuitous
> Unicode operators that look pretty in my code editor but I don't know
> how to type in GHCi.

I use explicit imports in order to avoid infix operator clashes.


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to