[Haskell-cafe] There is no Text.Regex module

Thomas DuBuisson thomas.dubuisson at gmail.com
Sat Oct 17 00:39:34 EDT 2009

Modules come from Haskell packages, most of which can be found on

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 an option (and still practical for sufficiently narrow




On Fri, Oct 16, 2009 at 9:17 PM, zaxis <z_axis at 163.com> 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. So i
> download and install regex-base and regex-posix from Hackage. But it still
> doesnot work !
> $dpkg -l ghc6
>  名称                                版本                                简介
> ==================================================================================
>  ghc6                               6.10.4-1ubuntu2
> GHC - the Glasgow Haskell Compilation system
> SIncerely!
> --
> View this message in context: http://www.nabble.com/There-is-no-Text.Regex-module-tp25935308p25935308.html
> Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list