I've taken the suggestions made by Tom and Robert and combined them into a
new module with some supporting functions and test cases. A copy is
attached, in case it's of use to anyone.
#g
Graham Klyne
For email:
http://www.ninebynine.org/#Contact
Further to my previous message:
[[
I've taken the suggestions made by Tom and Robert and combined them into a
new module with some supporting functions and test cases. A copy is
attached, in case it's of use to anyone.
]]
I've tightened the maxima function code in response to a comment from Tom
Graham Klyne writes:
:
| Ah, yes. I've grown a little wary of foldl, but I see it's
| appropriate in this case. As it's part of the standard prelude, I
| personally have no qualms about depending upon it ... or should I?
(Hope you don't mind my returning this to haskell-cafe.)
Most of foldl