New to Haskell AND FranTK I am trying to install
both. So far I have:
1. installed Hugs98 (seems to work)
2. installed
TCL/TK (demos work fine)
3. installed FranTK
that is were I am stuck. Since I am running
Windows, I have modified
tclhugs98.bat to point to the right
directories.
When I start
tclhugs98 ..\demos\demos.lhs
Hugs is really starting to load the files, but when
it reaches
frantk/src/TclHaskellSrc/Utils.hs it halts with the following
message:
ERROR "F:\Haskell\frantk\src\TclHaskellSrc\Utils.hs":61 - Definition
of
variable "updateIORef" clashes with import
Variable updateIORef is indeed mentioned in the file BaseTypes.hs, and
IORef.hs, which are
loaded earlier on.
I tried commenting updateIORef out of IORef.hs. That helps to load another
dozen files or so.
But then it hangs again, this time with the message:
ERROR "F:\Haskell\frantk\src\FranSrc\MutSet.hs":40 - Cannot use type
synonym in instance head
Now I am really stuck.
Has anybody managed to run the FranTK demo? Why is trying to start Hugs in
Hugs-mode rather then Haskell98?
I am grateful for any help .
Cheers,
Stephan