Proposal: Non-recursive let
Andreas Abel
andreas.abel at ifi.lmu.de
Wed Jul 10 23:29:36 CEST 2013
Didn't you forget some puts?
On 10.07.13 9:40 PM, Wvv wrote:
> Try to use Monad State instead
>
> fun = do
> put []
> x <- do
> s <- get
> foo 1 s
> y <- do
> s <- get
> bar x s
> z <- do
> s <- get
> baz x y s
>
>
>
> --
> View this message in context: http://haskell.1045720.n5.nabble.com/Proposal-Non-recursive-let-tp5732690p5732747.html
> Sent from the Haskell - Haskell-prime mailing list archive at Nabble.com.
>
> _______________________________________________
> Haskell-prime mailing list
> Haskell-prime at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-prime
>
--
Andreas Abel <>< Du bist der geliebte Mensch.
Theoretical Computer Science, University of Munich
Oettingenstr. 67, D-80538 Munich, GERMANY
andreas.abel at ifi.lmu.de
http://www2.tcs.ifi.lmu.de/~abel/
More information about the Haskell-prime
mailing list