[Haskell-cafe] Trying to write 'safeFromInteger'
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Tue Apr 7 17:33:25 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Apr 7, 2009, at 17:27 , Kannan Goundan wrote:
> if i > (toInteger maxBound)
I think you have to tell it *which* maxBound you want.
- --
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
iEYEARECAAYFAknbxrAACgkQIn7hlCsL25VTbwCgwIFznypXKUvRzL1qqbkDdP9g
P8QAn2He/JwKiDirOn65ggbwEc2fwWQ9
=nN6C
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe
mailing list