
20 Jan
2009
20 Jan
'09
11:33 a.m.
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