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

Hoogle:
http://haskell.org/hoogle/?hoogle=Text.Regex

Hayoo!:
http://holumbus.fh-wedel.de/hayoo/hayoo.html

Thomas


On Fri, Oct 16, 2009 at 9:17 PM, zaxis <z_a...@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@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to