[Haskell-cafe] weird behavior with FFI