[Haskell-cafe] type inference and FFI