
7 Oct
2004
7 Oct
'04
7:03 p.m.
--- John Goerzen wrote: tick :: Int -> State Int Int tick newval = do put newval return newval Or this: tick :: State Int Int tick = do n <- get return n That is even more incomprehensible to me -- why would removing a line before the return cause a type error? --- end of quote --- I can run both of those without a problem - could you post more of your code? It's probably somewhere else. /gXm