Index of /~lloyd/tildeProgLang/Gnumeric/latest/haskell

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]FFIc.c2017-02-21 14:03 784  
[TXT]FFIhs.hs2017-02-21 14:03 700  
[TXT]FFIhs_stub.c2017-02-21 14:03 440  
[TXT]FFIhs_stub.h2017-02-21 14:03 115  
[   ]Makefile.am2017-02-21 14:03 1.3K 
[TXT]functions.c2017-02-21 14:03 4.4K 
[   ]functionsH.hs2017-02-21 14:03 263  
[   ]hello.hs2017-02-21 14:03 119  
[TXT]plugin.xml.in2017-02-21 14:03 509  

Haskell

Also see [plugins/eg-beginner/README.html]
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

haskell.org/
ghc/docs/latest/html/ glasgow haskell compiler
users_guide/users-guide.html
4.`12 Options related to a particular phase
4.12.5. Options affecting the C compiler (if applicable)
-- L.A. 11/2003