[Haskell-cafe] Re: Could not find module `Text.Regex'

Lee Houghton gmane at asztal.net
Thu Jan 28 23:36:14 EST 2010


On 29/01/2010 03:51, zaxis wrote:
>
> import Text.Regex
>
> date_by_ntday dateStr ntday = do
>      let [y,m,d] = map (\x ->  read x::Int) $ splitRegex (mkRegex "-") dateStr
>      ....
>
> %ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.12.1
>
> Which package(s) do i need to use Text.Regex ?
>
> Sincerely!

It looks like you want regex-compat:

http://hackage.haskell.org/packages/archive/regex-compat/0.92/doc/html/Text-Regex.html



More information about the Haskell-Cafe mailing list