Re: [Haskell-cafe] Seeking for an extention (functional incapsulation)

2009-08-07 Thread Belka
Exponentially? Now I'm missing something... I meant: in as-is version you have 3 declarations (data, sdtField2 :: ..., sdtField2 = ...), but in a proposed one - only one, with subdeclarations. My perception is more oriented on that compositional criterion, than calculates char counts. Besides,

Re: [Haskell-cafe] Seeking for an extention (functional incapsulation)

2009-08-07 Thread Belka
Belka wrote: Exponentially? Now I'm missing something... I meant: in as-is version you have 3 declarations (data, sdtField2 :: ..., sdtField2 = ...), but in a proposed one - only one, with subdeclarations. My perception is more oriented on that compositional criterion, than calculates

Re: [Haskell-cafe] Linking failing due to Control.Monad.State.Strict?

2009-08-07 Thread Malcolm Wallace
If I look with '-v' tho it seems to include Haskell libs in the underlying link - see below? Plus it only complains about this library, I use many other standard libs too? Looks like something stranger is going on? Looks like you need to add -package mtl to the ghc commandline. If you

Re: [Haskell-cafe] Hugs faster and more reliable than GHC for large list monad 'do' block

2009-08-07 Thread Henning Thielemann
On Thu, 6 Aug 2009, Dan Weston wrote: Neil Mitchell wrote: Hi I think the issue you're running in to with 6.4 is this one: http://hackage.haskell.org/trac/ghc/ticket/830 - known and fixed a while back. No, I am using the latest released ghc: I think Neil refered to my experiences with

Re: [Haskell-cafe] Haskell2Xml

2009-08-07 Thread Dmitry Olshansky
Like in Keith proposal I need it for working with web-services, maybe Xml transformations and so on. And I tried to make it by self with a partial success. To work with xml I only used xml package (Text.XML.Light). Now I am going to work a little (?) on this task to provide more standard and

Re: [Haskell-cafe] Haskell2Xml

2009-08-07 Thread John Lask
the paper: Scripting XML with Generic Haskell Frank Atanassow, Dave Clarke and Johan Jeuring October 14, 2003 describes a translation from XML Schema to Haskell data types (like dtd2haskell) in generic haskell, I believe that the code for the tool described may also be available, how hard

Re: [Haskell-cafe] Haskell2Xml

2009-08-07 Thread John Lask
link to paper: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.1.7362 - Original Message - From: Dmitry Olshansky To: Haskell cafe Sent: Friday, August 07, 2009 7:31 PM Subject: Re: [Haskell-cafe] Haskell2Xml Like in Keith proposal I need it for working with

Re: [Haskell-cafe] Haskell2Xml

2009-08-07 Thread Sean Leather
On Fri, Aug 7, 2009 at 12:05, John Lask jvl...@hotmail.com wrote: the paper: Scripting XML with Generic Haskell Frank Atanassow, Dave Clarke and Johan Jeuring October 14, 2003 describes a translation from XML Schema to Haskell data types (like dtd2haskell) in generic haskell, I believe

[Haskell-cafe] Re: FFI: Problem with Signal Handler Interruptions

2009-08-07 Thread Levi Greenspan
On Thu, Aug 6, 2009 at 12:17 PM, Simon Marlowmarlo...@gmail.com wrote: The SIGVTALRM signal is delivered to one (random) thread in the program, so I imagine it just isn't being delivered to the thread that runs your second call to sleep.  (the main Haskell thread is a bound thread and hence

Re: [Haskell-cafe] Haskell2Xml

2009-08-07 Thread Dmitry Olshansky
Well, great thanks for interesting links. But definitely at first I need a time to try to understand what Generic Haskell and EMGM are. Does it stronger than Template Haskell? Could it be explained briefly and simplistic for first impression? Could it be compared with SYB or TH? Would it be

Re[2]: [Haskell-cafe] Haskell2Xml

2009-08-07 Thread Bulat Ziganshin
Hello Dmitry, Friday, August 7, 2009, 3:04:37 PM, you wrote: generic programming in haskell generally means SYB-like things and Generic Haskell (at least i have read description of) was a extended version of Haskell with built-in support for generic programming. i.e. those type-specific

Re: [Haskell-cafe] Haskell2Xml

2009-08-07 Thread Sean Leather
Hi Dmitry, Well, great thanks for interesting links. But definitely at first I need a time to try to understand what Generic Haskell and EMGM are. Generic Haskell (GH) is a language extension implementing datatype-generic programming features on top of Haskell. It is implemented using a

Re: [Haskell-cafe] Re: Thinking about what's missing in our library coverage

2009-08-07 Thread Johan Tibell
On Tue, Aug 4, 2009 at 7:40 AM, Alexander Dunlapalexander.dun...@gmail.com wrote: Interface unification would help. Especially network-bytestring seems to be too ad-hoc for me - it would probably be better to put ByteString support into the regular Network library It's my intention to get

Re: [Haskell-cafe] Basic questions about concurrency in Haskell

2009-08-07 Thread Sebastian Sylvan
Bringing the cafe back in. If I remember correctly tuning the GC is one of the things they worked on for the next release (in relation to parallelism).Here's a link to the paper: http://research.microsoft.com/en-us/um/people/simonpj/papers/parallel/multicore-ghc.pdf You can allocate dynamic

Re: [Haskell-cafe] Linking failing due to Control.Monad.State.Strict?

2009-08-07 Thread phil
That's the puppy! Thanks so much for your help! Phil. On 7 Aug 2009, at 10:14, Malcolm Wallace wrote: If I look with '-v' tho it seems to include Haskell libs in the underlying link - see below? Plus it only complains about this library, I use many other standard libs too? Looks like

Re: [Haskell-cafe] Database written in Haskell?

2009-08-07 Thread S. Alexander Jacobson
HAppS' IxSet library gives relational operations but does not have a SQL interface. Am thinking of changing the name to RelSet to make the functionality clear. You can use HAppS.State to give ACID properties to operations on this data structure. -Alex- On 8/1/09 12:15 AM, Günther Schmidt

Re: [Haskell-cafe] Database written in Haskell?

2009-08-07 Thread Günther Schmidt
Hi Alex, very nice to hear from you and thank you very much for Happs. I'm quite familiar with IxSet and loved it, however there where a few things that made it unfeasable for the particular application. It must be able run on Win2k machines so you can imagine the hardware is rather low

[Haskell-cafe] Re: Re: SQL Database in Haskell?

2009-08-07 Thread Günther Schmidt
Hi Max, thanks for that hint. I had tried IxSet by itself and was unaware that Happs-state might be a solution. Performance *is* a problem, not time but space. If you meant a time performance problem, that'd be acceptable, the app with SQLite is running too fast as it is. But the

[Haskell-cafe] What would be required to make a LLVM backend for GHC

2009-08-07 Thread Alex Mason
Hi all, I've been talking to one of the LLVM developers, who's working on an operating system called AuroraUX, which, among other things, is trying to use LLVM as much as possible in the system (using clang as the default compiler, compiler-rt [libgcc replacement from the LLVM team],

Re: [Haskell-cafe] What would be required to make a LLVM backend for GHC

2009-08-07 Thread Gwern Branwen
On Fri, Aug 7, 2009 at 11:08 PM, Alex Masonaxm...@gmail.com wrote: Hi all, I've been talking to one of the LLVM developers, who's working on an operating system called AuroraUX, which, among other things, is trying to use LLVM as much as possible in the system (using clang as the default