Re: [Haskell] ANN: wl-pprint-1.0: Wadler/Leijen pretty printer

2007-04-15 Thread Joel Reymont
Why should I use PPrint instead of the PJ/Hughes pretty printer that comes with Haskell? Thanks, Joel On Apr 15, 2007, at 8:19 PM, Stefan O'Rear wrote: PPrint is an implementation of the pretty printing combinators described by Philip Wadler (1997). In their bare essence, the combina

Re: [Haskell] [Fwd: Re: Computer Language Shootout]

2007-01-25 Thread Joel Reymont
Where are SPJs disclosed comments from Brent Fulgham? On Jan 25, 2007, at 8:55 AM, Simon Marlow wrote: Forwarding on behalf of Andrzej Jaworski <[EMAIL PROTECTED]>: Original Message From: Andrzej Jaworski <[EMAIL PROTECTED]> Dear fellows, It is ironic that just after SPJ di

Re: [Haskell] Haskell I/O inside: down the rabbit's hole

2006-07-04 Thread Joel Reymont
Bulat, I couldn't find a way to reach your tutorial from the Wiki homepage. There's http://www.haskell.org/haskellwiki/Introduction_to_IO under Idioms but there's no tutorials section that I can see. Thanks, Joel -- http://wagerlabs.com/ ___

Re: [Haskell] A road for Haskell into the kernel of a full-fledged OS

2006-06-02 Thread Joel Reymont
On Jun 2, 2006, at 5:41 PM, [EMAIL PROTECTED] wrote: It is quite instructive to compare a device driver in Haskell with the original C driver -- it terms of length, speed, time to write, number of bugs, etc. I think this is an awesome idea. I believe the folks at Galois have customized the

Re: [Haskell] My summer of code project: HsJudy

2006-05-30 Thread Joel Reymont
On May 30, 2006, at 3:11 PM, Brian Hulley wrote: Well the problem with LGPL afaiu is that if you statically link your code to it your are required to make your own source code available. You could be confusing LGPL with GPL, I think. Or am I confused? Thanks, Joel -- http://wager

Re: [Haskell] Takusen

2006-05-06 Thread Joel Reymont
On May 4, 2006, at 11:58 AM, Bayley, Alistair wrote: Support for SQL Templates... well, we support bind variables, if that's what you mean. Sounds like what you want. I could not find bind variables or any examples of using them, thus my asking. What's your goal with using Takusen? I h

[Haskell] Takusen

2006-05-04 Thread Joel Reymont
Folks, I cannot check out Takusen from haskell-libs on Source Forge, neither an empty password nor anonymous works. Has anyone seen this? Does Takusen support SQL templates with variable bindings or is the idea that I form the SQL text myself? How should I plug in numeric ids and such int

Re: [Haskell] Re: (small) records proposal for Haskell '06

2006-01-06 Thread Joel Reymont
How does pattern matching work with HList? I would like to pass a HList to a function and only match if a certain field had a certain value. On Jan 6, 2006, at 7:14 AM, [EMAIL PROTECTED] wrote: *Test> :t accessor accessor :: (HasField l r v) => r -> l -> v -- http://wager

Re: [Haskell] (small) records proposal for Haskell '06

2006-01-02 Thread Joel Reymont
David, Say you turned automatic generation of accessor functions off. You would still need accessor functions, right? What would they look like if you were to write them by hand? Thanks, Joel On Jan 2, 2006, at 1:43 PM, David Roundy wrote: This change "solves" the problem that di

Re: [Haskell] Compiling wxHaskell from source?

2005-11-17 Thread Joel Reymont
I cannot build it on Mac OSX either. I think it has to do with GCC 4.x. On Nov 17, 2005, at 9:09 PM, Deling Ren wrote: Hi there, is there anyone out there having luck with compiling wxHaskell from source on Debian? My Debian version is 3.1, ghc 6.4.1 from sid. wxWidgets 2.6.3. wxHaskell vers

Re: [Haskell] Improvements to GHC

2005-11-17 Thread Joel Reymont
Don't get me started, please :-). I tried making each field a separate class but then needed to compose records of difference field instances which led to HList which led to GHC eating up all my memory and crashing, etc. I can see where you are going but if I have 250 records with shared

Re: [Haskell] Improvements to GHC

2005-11-17 Thread Joel Reymont
I vote for a separate namespace for record access functions. To me a gameID in one record is always the same gameID in another record and having to add prefixes to each access field sucks when records number in the hundreds :-(. My users now have to deal with tiGameID, blahBlahGameID, etc.

Re: [Haskell] Making shared libraries with Haskell

2005-10-05 Thread Joel Reymont
Simon, It appears that hs-plugins supports this functionality. I don't care if its bundles or shared libraries so long as I can use Haskell as a DSL in some other program (game engine is what I had in mind). hs- plugins appears to allow this, unless you are telling me it only works on Wind

[Haskell] Making shared libraries with Haskell

2005-09-26 Thread Joel Reymont
Folks, Is the procedure of creating shared libraries with Haskell and loading them from C described somewhere? Is this even possible? Thanks, Joel -- http://wagerlabs.com/ ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org

[Haskell] Parsing binary data

2005-08-27 Thread Joel Reymont
Folks, I'm trying to parse chunks of binary data that arrive through a socket. There's a defined format of these chunks where the first 4 bytes are an id, then could come a Pascal (size first) string, then some more data. I'm trying to figure out how to read and write Haskell data in this