List vs Data.List

Serge D. Mechveliani mechvel at botik.ru
Thu Nov 18 13:06:50 EST 2010


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 at botik.ru

 


More information about the Glasgow-haskell-users mailing list