
3 Sep
2001
3 Sep
'01
6:47 a.m.
Hello, I have tried to export haskell functions, but I haven't been able to compile anything and obtain a executable file. My program has two parts.
- Haskell part:
module Hex where
fh :: Int -> Int
foreign export "f" fh :: Int -> Int
fh x = 7
- C part:
#include