Derived instances

2007-08-31 Thread Fernand
nce, to compile my source with another compiler, which does not support Generics. Is that possible ? Thank you, Fernand ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: Derived instances

2007-08-31 Thread Fernand
/uniplate/ Uniplate does generic traversals, but will work on all Haskell 98 compilers, to some degree - read the paper for exact details. Thanks Neil Thanks for these links. I will check the tool, but they seem to fit perfectly for my purposes. Fernand

ghc 6.8.1 windows link issue ?

2007-11-20 Thread Fernand
Dear all, Giving a try to GHC 6.8.1 under Windows, I stumble upon the following issue (yes, I'm struggling with HDirect), which did not occur with the 6.6 version : the linking phase of my project fails with $ C:/ghc/ghc-6.8.1/bin/ghc -o ihc.exe -fglasgow-exts -static -fvia-C -Rghc-timing -W

Re: ghc 6.8.1 windows link issue ?

2007-11-20 Thread Fernand
Fernand a écrit : Dear all, Giving a try to GHC 6.8.1 under Windows, I stumble upon the following issue (yes, I'm struggling with HDirect), which did not occur with the 6.6 version : the linking phase of my project fails with Actually, the issue appears with the following program : >

Re: ghc 6.8.1 windows link issue ?

2007-11-21 Thread Fernand
Simon Marlow a écrit : Compiling that same program with GHC-6.6 (same command line) works fine. Do I need to submit a bug or did something changed in the librairies' structure that I missed somewhere ? You haven't told GHC that you want to link the containers package. Try adding -package c

GHC 6.8.1 and HDirect

2007-11-21 Thread Fernand
Hi dear fellow ghc users, I simply wanted to let people know that I apparently succeeded in compiling a patched version of HDirect with GHC 6.8.1 (with typelibs support). At least, I could compile some of the examples and had very simple test programs launch/connect to Word and Excel using au

HDirect and GHC-6.6

2007-01-10 Thread Fernand Lacas
Hello, This is my first post on this mailing list and I hope it will not be too off-topic. My point is that I have worked a little on the porting of the last (0.21) version of HDirect (http://www.haskell.org/hdirect/) to ghc 6.6. I succeeded in compiling the ihc.exe (idl compiler) but I'm now s

Re : HDirect and GHC-6.6

2007-01-11 Thread Fernand Lacas
Hi, Yes, my point was indeed about the second compilation stage : once you have build the libs (comlib, the ihc tool and hdirect), you have to install them (com and hdirect) as packages in order to rebuild the ihc tool with the support for type libraries. At this point, the makefile-based build

Re : HDirect and GHC-6.6

2007-01-17 Thread Fernand Lacas
Hi, Here are some details on my building of HDirect with ghc-6.6, and where I am stuck. Skipping details about deprecated libs (such as IOExts) and some name conflicts (NativeInfo), I succeeded in building the "ihc.exe", the "hdirect" and "com" libs. I installed the "com" lib as a package on my

Re : HDirect and GHC-6.6

2007-03-06 Thread Fernand Lacas
Hi all, It's been a long time since I had the time to work with haskell, but I have some news about HDirect. I now succeed in compiling "ihc.exe" with the typelib support (see my previous posts on the subject), but I had to bypass the packages. That is, the second compilation stage is made usin

[HDirect] ihc and COM

2007-03-07 Thread Fernand Lacas
Hi, I'm continuing to experiment with HDirect and the ihc compiler. Trying the "huge" type libraries from Office applications (Word, Excel...), I've met the following issue: some Haskell stubs do not compile out of the box, essentially because of type mismatch between the type signature generat