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

zaxis z_axis at 163.com
Sat Oct 17 00:17:39 EDT 2009

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

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.

More information about the Haskell-Cafe mailing list