Small JAPI binding for GHC in CVS
Malcolm Wallace
Malcolm.Wallace@cs.york.ac.uk
Wed, 19 Feb 2003 14:03:16 +0000
"Mike Thomas" <miketh@brisbane.paradigmgeo.com> writes:
> 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