List vs Data.List

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? Thank you in advance for explanation, ----------------- Serge Mechveliani mechvel@botik.ru

-----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@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@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-----
participants (2)
-
Brandon S Allbery KF8NH
-
Serge D. Mechveliani