[Haskell-cafe] turning an imperative loop to Haskell

Dougal Stanton ithika at gmail.com
Thu Sep 6 10:21:22 EDT 2007


On 06/09/07, Axel Gerstenberger <axel.gerstenberger at gmx.de> wrote:

> however,I don't get it this to work. Is it possible to see the
> definition of the iterate function? The online help just shows it's usage...

The Haskell 98 report includes source for the standard prelude. Check 'em out...

<http://www.haskell.org/onlinereport/standard-prelude.html>


>
> Again thanks a lot for your ideas and the links. I knew there was a
> one-liner for my problem, but I couldn't find it for days.

That's a common feeling with Haskell, I think. ;-)

D


More information about the Haskell-Cafe mailing list