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

zaxis z_axis at 163.com
Fri Jan 29 04:09:58 EST 2010


`cabal install regex-compat` fixes my problem.  thanks!


Lee Houghton-3 wrote:
> 
> 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
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 
> 


-----
fac n = foldr (*) 1 [1..n]
-- 
View this message in context: http://old.nabble.com/Could-not-find-module-%60Text.Regex%27-tp27366745p27367473.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list