> stored <- get store; > input <- get counter; > if (stored <> input) > then set var value > else <nop> > sleep 100; Vladimir wrote: > Try 'return ()' > > (if ... then ... else return ()); ... If I understand correctly, I can use return only at the end of a monad chain, can't I? - Gergely