Hello.hs |
sanity check #1: the Haskell hello-world program:
ghc hello.hs
|
|
- FFI*
-- a demo' mixed language program, sanity check #2
- ghc -c FFIhs.hs -ffi
- ghc FFIhs.o FFIhs_stub.o FFIc.c
|
|
FFIc.c |
the C part of the FFIc.c + FFIhs.hs duo |
FFIhs.hs |
the Haskell part of the FFIc.c + FFIhs.hs duo |
|
experiments to call haskell from gnumeric this does not quite(?--) work yet |
Makefile.am | input to automake which creates Makefile.in which leads to the real Makefile |
functions.c | usual gnumeric plugin, but it calls... |
functionsH.hs | haskell code |
functionsH_stub.c | generated by ghc -c -ffi functionsH.hs |
functionsH_stub.h | generated by ghc -c -ffi functionsH.hs |
-- L.A. 11/2003