
17 Oct
2009
17 Oct
'09
1:45 a.m.
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/