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
Hoogle is great ! thanks!
Thomas DuBuisson wrote:
>
> Modules come from Haskell packages, most of which can be found on
> hackage.haskell.org.
>
> If you are looking for a module but you don't know which package it
> comes from then feel free to search using hoogle or hayoo!. Obviously
> man
Modules come from Haskell packages, most of which can be found on
hackage.haskell.org.
If you are looking for a module but you don't know which package it
comes from then feel free to search using hoogle or hayoo!. Obviously
manually checking all the seemingly related packages on hackage is
also
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. So i
download and install regex-base and regex-posix from Hackage. But it still
doesnot wo