I wrote:

> Hello, I have trouble with hugs and FranTk on a sun.
> 
> When I load either of the demos, I get an internal error. The last
> lines are:
> 
> Reading file "src/frantk/src/FranTkSrc/Widgets.lhs":
> Type checking      
> INTERNAL ERROR: findBtyvsInt

I did one more test to make sure that the problem isn't in the
dynamically loaded library TclPrim.so. I commented out all lines like

  primitive prim_foo :: sometype

and added

  prim_foo :: sometype
  prim_foo = undefined

in TclPrim.hs, commented out needPrims_hugs 2, and renamed TclPrim.so
to be sure it doesn't get loaded. I still get the same error, so it
must be a genuine hugs problem.

(BTW: Where is this "primitive" stuff documented?)


Christian Sievers

Reply via email to