
18 May
2007
18 May
'07
1:14 p.m.
On May 18, 2007, at 7:32 , iskaldur wrote:
import Control.Monad.Writer foo :: Writer String Int foo = tell "hello"
foo = tell "hello" >> return 1 -- or whatever You declared it to return Int, you should probably produce an Int somewhere.... -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH