Re: [Haskell-cafe] Names for pretty-printing combinators

2011-06-02 Thread Henning Thielemann
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

Re: [Haskell-cafe] Names for pretty-printing combinators

2011-05-25 Thread Ivan Lazar Miljenovic
(Changing the subject as it's going off-topic from the original email :p) On 25 May 2011 22:45, Simon Meier iridc...@gmail.com wrote: 2011/5/25 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com: Also, by clashes with Applicative, are you referring to empty and $ ?  I'm not sure if a better name

Re: [Haskell-cafe] Names for pretty-printing combinators

2011-05-25 Thread Stephen Tetley
Hi Ivan empty is fine as is, obviously with a Monoid instance as well, people can choose to use mempty which removes potential name clashes. I was thinking of ($) and (+), though I was forgetting that (+) is actually ArrowPlus. If you are mostly gifting angles as notation to Applicative, maybe

Re: [Haskell-cafe] Names for pretty-printing combinators

2011-05-25 Thread Casey McCann
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