Re: [Haskell-cafe] Using Parsec with ByteString ?

2009-06-24 Thread Fernand
Chaddaï Fouché пишет: On Fri, Jun 19, 2009 at 1:51 PM, Fernandquarantedeu...@yahoo.fr wrote: but the parser one needs to write must parse ByteStrings instead of Strings (that is, something like having a Parsec Bytestring () type, unless I'm completely misunderstanding the situation). My

[Haskell-cafe] Using Parsec with ByteString ?

2009-06-19 Thread Fernand
Hi, May be it's a frequently asked question, but I have been unable to find my way in the parsec-3.0.0 library when trying to write a small parser with Parsec that could work with ByteStrings. I mean, there is the Text.Parsec.ByteString module which allows to parse a file using ByteStrings,

Re: [Haskell-cafe] ActiveX and COM

2008-08-04 Thread Fernand
it using the new Microsoft XML format (it will only work with Office 2007, though) ; then you do not need COM. Sincerely yours, Fernand ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Stupid question about Cabal file

2008-06-26 Thread Fernand
property, but I did not manage to make it work, I mean, my package does not seems to include the interface files. I am sure, on the other hand, that it is possible :) Sincerely yours, Fernand ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Stupid question about Cabal file

2008-06-26 Thread Fernand
to create the package, I will then try it. thank you, Fernand ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Stupid question about Cabal file

2008-06-26 Thread Fernand
need to understand how to obtain the same result using make, I think. Haskelly yours, Fernand Daniel Fischer пишет: If it's a complicated build, you should certainly take a close look at the Cabal user guide, because then you will probably need more than main = defaultMain in your Setup.hs

[Haskell-cafe] [tagsoup] is it the expected behaviour ?

2008-05-19 Thread Fernand
expecting [TagOpen a [(href,what)],TagText uh ?,TagClose a], or is there some HTML interpretation I don't know on the parsing of attributes ? Sincerely yours, Fernand ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] [HXT] Simple question

2007-12-20 Thread Fernand
that the text node is here, but the y node is displayed as an empty node ! Thank you everyone, I report this to the HXT team. Fernand ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] [HXT] Simple question

2007-12-19 Thread Fernand
this nodes, but the issue seems to lie in the XML output options. Has anybody an idea ? Excuse me if this is a trivial issue, Sincerely yours Fernand -- Excuse my french, it's my mother tongue. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] [HXT] Simple question

2007-12-19 Thread Fernand
[(a_indent, v_1)] produces « text/ » nodes (bad). I can manage it without the a_indent option. Thanks/спасибо Fernand ftest.5.11e.xdp Description: application/vnd.adobe.xdp ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

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

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

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

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 : module

Derived instances

2007-08-31 Thread Fernand
, 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

[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

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 using

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-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

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