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

Gaoang Liu liugaoang at gmail.com
Sun Sep 16 10:15:55 CEST 2012


yeah , cabal install regex.compat fixes my problems ,2 .  Thx .

On Friday, January 29, 2010 11:51:23 AM UTC+8, 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!
>
> -----
> fac n = foldr (*) 1 [1..n]
> -- 
> View this message in context: 
> http://old.nabble.com/Could-not-find-module-%60Text.Regex%27-tp27366745p27366745.html
> Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskel... at haskell.org <javascript:>
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120916/8de77a6c/attachment.htm>


More information about the Haskell-Cafe mailing list