-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/9/10 20:40 , Magicloud Magiclouds wrote:
> First to notice that. So standard-wise, there is no way to do state thing?

There seems to be a lot of confusion as to what the language standard
covers.  It is a bare minimum; practical libraries are not part of its
purview, but only the minimum needed to make implementing practical
libraries possible.

This includes some baked-in assumptions:  for example, the "do" construct
requires that the Monad typeclass support a "fail" method, numeric literals
require the Num typeclass to support a "fromIntegral" method, etc., and
since you can't extend typeclasses after definition that means Num and Monad
are overspecified compared to other types in the language standard.

Take a look at the Haskell Platform for a practical compiler-and-libraries
standard.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allb...@kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0EI/IACgkQIn7hlCsL25Xc1wCgi9saZgo9h4RScI+ZAyR843sG
eHoAn2J7Yfn664oaL1zAEZxQDLCat04k
=SDlV
-----END PGP SIGNATURE-----

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to