Archive for October, 2007

For loops in Haskell

Functional programmers often seem to complain that for loops are better off done with maps, and that, in any case, they're just degenerate cases of the same thing, as all imperative constructs can be created in a fully functional way… That being the claim, I thought it might be a fun exercise to try to [...]