Ertugrul Soeylemez <e...@ertes.de> wrote:

>   computation :: State [Object] Result
>   computation = do
>     objs0 <- get
>     (result, objs1) <- doSomethingWith objs0
>               put objs1
>     return result

Misindented, sorry.  Again:

  computation :: State [Object] Result
  computation = do
    objs0 <- get
    (result, objs1) <- doSomethingWith objs0
    put objs1
    return result


Greets,
Ertugrul.


-- 
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://blog.ertes.de/


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to