
27 Nov
2009
27 Nov
'09
7:23 p.m.
On Nov 27, 2009, at 19:20 , Mike Sampson wrote:
How do you retrieve the number of screens currently being used. I have tried:
screenCount :: Int
The type has to be in the X monad; try declaring it as X Int. (More specifically, the error message is telling you that you used a do expression, which produces a result in some monad ("m b"), but you declared the type as Int.) -- 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