Haskell: Cannot use dropWhileEnd, Data.Text.Lazy / Data.Lazy modules not found

First I have to admit: I am completely new to Haskell. I worked a bit with this, and now I have some problems with string manipulation:

I need to erase / discard characters starting at the end of a line. I expected the function to dropWhileEnddo this, but when I try to import Data.Text.Lazyor Data.Lazy, ghc tells me that it cannot find these modules.

My question is: why do not they find them? Shouldn't they be in the standard library? I am using Haskell Platform 2010.2.0.0 with ghc enabled on Windows.

+3
source share
1 answer

"text" Haskell Platform 2011.2 - . :

2010.2 :

  • cabal

2011.2 :

+6

All Articles