Howdy,
I worked out a small hdf5 binding using cabal and bindings-DSL and
sqlite3 as my example.
Time to try it !
ghci -idist/build/ dist/build/Bindings/HDF5.o -lhdf5 -lhdf5_hl
hdf5_pkg_test.hs
GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking
I assume there's a LINE directive in the file it's actually reading.
Run ghci with -v to see what file it's actually trying to read.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Sat, 26 Feb 2011 18:18:27 -0800 (PST)
Brandon Moore brandon_m_mo...@yahoo.com wrote:
I assume there's a LINE directive in the file it's actually reading.
Run ghci with -v to see what file it's actually trying to read.
Here's the relevant output with -v flag:
compile: input
On Sat, 2011-02-26 at 21:36 -0800, bri...@aracnet.com wrote:
[1 of 2] Compiling Bindings.HDF5( dist/build/Bindings/HDF5.hs,
interpreted ) *** Parser:
src/Bindings/HDF5.hsc:49:8: parse error on input `import'
So it's in HDF5.hs ultimately, but LINE directives are telling it to
report a