Re: [Haskell-cafe] Need some advice around lazy IO

2013-03-23 Thread mukesh tiwari
Hi Kashyap I am not sure if this solution to your problem but try using Bytestring rather than String in parseXML' :: String - XMLAST parseXML' str = f ast where ast = parse (spaces xmlParser) str f (Right x) = x f (Left x) = CouldNotParse Also see this post[1] My Space is

Re: [Haskell-cafe] Compiled code

2013-03-23 Thread Krzysztof Skrzętnicki
They are used: any library installed with e.g. cabal-install is kept around not in source form but with .hi and .o files (and perhaps some metadata as well.) Best regards, Krzysztof Skrzętnicki On Fri, Mar 22, 2013 at 11:04 PM, MigMit miguelim...@yandex.ru wrote: Suppose I compiled some

Re: [Haskell-cafe] Announcement - HGamer3D - 0.2.1 - why netwire

2013-03-23 Thread Heinrich Apfelmus
Peter Althainz wrote: Heinrich Apfelmus wrote: Of course, I have to ask: what influenced your choice of FRP library in favor of netwire instead of reactive-banana ? good question, actually I need to thank you for your excellent tutorials on FRP and GUI on the WEB. I tried the version of

Re: [Haskell-cafe] Ticking time bomb

2013-03-23 Thread Jon Fairbairn
Marc Weber marco-owe...@gmx.de writes: The only safe way is acceptnig keys from people you know don't view pdf using adobe reader, I don’t… who don't browse the web (neither use flash) etc. I only browse the web (in general) from a diskless virtual machine. And then still you also have to

Re: [Haskell-cafe] Announcement - HGamer3D - 0.2.1 - why netwire

2013-03-23 Thread Ertugrul Söylemez
Heinrich Apfelmus apfel...@quantentunnel.de wrote: You said that reactive-banana didn't feel as simple after the introduction of dynamic event switching, though. Could you pinpoint some particular thing that made you feel like that? Maybe a type signature or a tutorial or something else? I

Re: [Haskell-cafe] A question about data declaration

2013-03-23 Thread Doug Burke
On Mar 22, 2013 2:58 AM, C K Kashyap ckkash...@gmail.com wrote: Thanks Eric and Brent, Even with GADT, it appears that I'd need extra data definitions. I'll go without GADT then ... Brent, my use case is not particularly complicated. I am trying to model the pdf spec - which says that pdf

[Haskell-cafe] ANN: pdf-toolbox

2013-03-23 Thread Yuras Shumovich
Hello, I have uploaded the first release of my pdf toolbox, a collection of tools for processing PDF files. It supports both parsing and generating of pdf files. It consists of two libraries: - core ( http://hackage.haskell.org/package/pdf-toolbox-core ) contains low level tools. - document

Re: [Haskell-cafe] A question about data declaration

2013-03-23 Thread Evan Laforge
Brent, my use case is not particularly complicated. I am trying to model the pdf spec - which says that pdf contains Objects that could of of types Number, String, Name, Array and Dictionary - while array is list of objects, the Disctionary is a list of tuples (Name, Object) not (Object,

[Haskell-cafe] Enumerating functions at runtime

2013-03-23 Thread Luke Evans
I'm curious about using Haskell for metaprogramming. It looks like I can dynamically compile, load and run some Haskell with the plugins package. Actually I've briefly tried this and it seems to work for some simple cases at least. Now I would like to be able to enumerate precompiled public

Re: [Haskell-cafe] Enumerating functions at runtime

2013-03-23 Thread Brandon Allbery
On Sat, Mar 23, 2013 at 11:26 PM, Luke Evans l...@eversosoft.com wrote: I'm curious about using Haskell for metaprogramming. It looks like I can dynamically compile, load and run some Haskell with the plugins package. Actually I've briefly tried this and it seems to work for some simple