Proposal: Non-recursive let

Wvv vitea3v at
Wed Jul 10 21:40:45 CEST 2013

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:
Sent from the Haskell - Haskell-prime mailing list archive at

More information about the Haskell-prime mailing list