Andrew Lentvorski wrote:
Perhaps. Haskell has something called a state monad. I'm not sure how
it works yet but it might be one way to help out that situation.

Sure, but then you are effectively back at iteration.

Monads really don't have much to do with iteration. And they're a functional implementation of modifiable state in a defined-evaluation order. (Of course, without extralingual side-effects, they're not much use per se.) Quite clever, really. Hard to get my head around until I clueed in on what they're translating to.

--
  Darren New / San Diego, CA, USA (PST)
    I bet exercise equipment would be a lot more
    expensive if we had evolved from starfish.

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to