zaxis wrote:

> 
> In Archlinux i can use Text.Regex as below:
> import Text.Regex
> let [y,m,d] = map (\x -> read x::Int) $ splitRegex (mkRegex "-") dateStr
> 
> However, in Ubuntu 9.10 it doesnot work reporting no Text.Regex module

If you installed ghc6 from a package you should do:

   sudo apt-get install libghc6-regex-*

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to