Hello All...
I'm trying to switch my tosa to OZ, but need to convert my existing data first.
Digging around found dtmconv at
http://quux.org/devel/zaurus, but I cannot get it to compile on my laptop.
ghc error:
dtmconv.hs:389:
Couldn't match `[]' against `IO'
Expected type: [t]
Inferred type: IO [(String, CFilter)]
In the application `tag2loc "ALSD"
"start"
(\ ct -> ct {ctHour = 0, ctMin = 0, ctSec = 0})
inp'
In a 'do' expression:
alsd <- tag2loc "ALSD"
"start"
(\ ct -> ct {ctHour = 0, ctMin = 0, ctSec = 0})
inp
make: *** [dtmconv] Error 1
Using hugs does not help either...
hugs "-Fcpp -P -traditional -D__HUGS__" -98 +o -PHaXml-1.12/src: dtmconv.hs
__ __ __ __ ____ ___ _________________________________________
|| || || || || || ||__ Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__|| __|| Copyright © 1994-2003
||---|| ___|| World Wide Web:
http://haskell.org/hugs|| || Report bugs to: hugs-bugs@haskell.org
|| || Version: November 2003 _________________________________________
Hugs mode: Restart with command line option +98 for Haskell 98 mode
ERROR "dtmconv.hs":387 - Type error in explicitly typed binding
*** Term : times
*** Type : Content -> IO [(String,CFilter)]
*** Does not match : Content -> [(String,CFilter)]
MissingH.Time>
Any hints? Maybe someone with a compiled version?