On Thu, Feb 15, 2007 at 02:53:47PM -0500, Mark T.B. Carroll wrote: > Is it easy to create Haskell stubs (in the IO monad, presumably) for > standard Java libraries so that your compiled-to-JVM Haskell code can > easily use the usual Java APIs like Swing? One source of vexation for us > is mapping between Java types and Haskell types.
Yep. Normal FFI style foreign imports work. foreign import jvm unsafe "java.lang.Character.isDigit" isDigit :: Int -> Bool -Brian _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
