3 ms·
I mentioned Pearls of Functional Algorithm Design because it exactly describes how to do this. It may not lead to a solution in the ST monad, but it does tell
by platz 13y ago
I mentioned Pearls of Functional Algorithm Design because it exactly describes how to do this. It may not lead to a solution in the ST monad, but it does tell you to to iterate to a better solution.
This post explains what I'm talking about:
http://www.atamo.com/blog/how-to-read-pearls-by-richard-bird-1/ http://www.atamo.com/blog/how-to-read-pearls-by-richard-bird...
- alkonaut 13y agoSounds like a good read, sold!
- platz 13y agoI'm kind of on the fence about it - I've hesitated buying it because the post also explains that it's a notoriously difficult book - some of the results of the "swizzling" can lead to some inscrutable final programs. But I'll probably pick it up at some point in the near future.
- louthy 13y ago> it's a notoriously difficult book Personally I don't find that to be true, it's perfectly logical mostly. It's definitely worth picking up imho.