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
(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
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
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