List vs Data.List
Brandon S Allbery KF8NH
allbery at ece.cmu.edu
Thu Nov 18 15:15:36 EST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/18/10 13:06 , Serge D. Mechveliani wrote:
> In ghc-7.0.1, to import `partition', it is sufficient the line
>
> import List (partition),
>
> but to import `intercalate', it is needed
> import Data.List (intercalate).
>
> Does Haskell-2010 differ between List and Data.List import?
Haskell-2010 specifies Data.List. List is only for Haskell98.
- --
brandon s. allbery [linux,solaris,freebsd,perl] 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)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzliWgACgkQIn7hlCsL25XloQCggEV8ndpBEJp435VQj9ZqMqMp
hicAnjrX7gQs7KYyW97c9HpkJcz3kKHJ
=4yB5
-----END PGP SIGNATURE-----
More information about the Glasgow-haskell-users
mailing list