
19 Feb
2003
19 Feb
'03
9:03 a.m.
"Mike Thomas"
Under "fptools/libraries/Japi" (the GHC CVS repository) please find a preliminary binding to a subset of the Japi library:
Looks useful.
it avoids callbacks and uses the Haskell 98 FFI so I would expect it to be easy to port to "nhc98".
Unfortunately, the module Graphics.UI.Japi.Types uses a ghc-only extension: deriving on newtypes for the classes Integral, Real, Num, and Enum. If it wasn't for that, it would be very portable. Regards, Malcolm