[Haskell-cafe] Re: Comments from OCaml Hacker Brian Hurt
Heinrich Apfelmus
apfelmus at quantentunnel.de
Tue Jan 20 11:33:56 EST 2009
Lennart Augustsson wrote:
> A very nice writeup about the use of monoid with finger tree.
Thanks :)
> But please, use the names of the monoid operations that the rest of
> the Haskell libraries use.
> By using different names you are just confusing readers (even if you
> don't like the standard names).
True. Unfortunately, mappend is no option because it's way too long, I
barely got away with writing out measure . There is ++ but it's
already taken. Alternatively, I could opt for unicode ⊕ and at least
match the paper. Thoughts?
> Also, you can replace Infinity by maxBound.
Good idea, thanks.
Regards,
apfelmus
--
http://apfelmus.nfshost.com
More information about the Haskell-Cafe
mailing list