yeah , cabal install regex.compat fixes my problems ,2 . Thx .
On Friday, January 29, 2010 11:51:23 AM UTC+8, zaxis wrote:
import Text.Regex
date_by_ntday dateStr ntday = do
let [y,m,d] = map (\x - read x::Int) $ splitRegex (mkRegex -)
dateStr
%ghc --version
The
`cabal install regex-compat` fixes my problem. thanks!
Lee Houghton-3 wrote:
On 29/01/2010 03:51, zaxis wrote:
import Text.Regex
date_by_ntday dateStr ntday = do
let [y,m,d] = map (\x - read x::Int) $ splitRegex (mkRegex -)
dateStr
%ghc --version
The Glorious
On Fri, Jan 29, 2010 at 1:09 AM, zaxis z_a...@163.com wrote:
`cabal install regex-compat` fixes my problem. thanks!
For what it's worth, according to the documentation the -compat package is
for easing a transition in the api (which has now been completed). You may
want to upgrade to a
import Text.Regex
date_by_ntday dateStr ntday = do
let [y,m,d] = map (\x - read x::Int) $ splitRegex (mkRegex -) dateStr
%ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1
Which package(s) do i need to use Text.Regex ?
Sincerely!
-
fac n = foldr
z_axis:
import Text.Regex
date_by_ntday dateStr ntday = do
let [y,m,d] = map (\x - read x::Int) $ splitRegex (mkRegex -) dateStr
%ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1
Which package(s) do i need to use Text.Regex ?
In general,