Re: [Haskell-cafe] GHC 6.8.2 on IA64-Linux platform (Itanium)

2011-01-04 Thread Karel Gardas
Hello Sergei! nice to hear from you! In fact I've been dealing with this issue a little bit and just fixed Adjustor issue myself and then just hour before your email came I discovered your excellent gentoo patches! Kudos to zygoloid for his excellent MBlock.h patch! Also you have saved my

Re: [Haskell-cafe] Freeglut

2011-01-04 Thread Henk-Jan van Tuyl
On Tue, 04 Jan 2011 00:21:11 +0100, Eric e...@mathmeth.com wrote: Hi all, I would like to use freeglut instead of GLUT for my Haskell OpenGL program, but when I place the freeglut dll in the program's directory and try to run the program on Windows XP, I get the following error

Re: [Haskell-cafe] Odd profiling results

2011-01-04 Thread Malcolm Wallace
http://www.mega-nerd.com/tmp/ddc-heap-usage-20101231.png We have no particular problem with the 11 peaks (one for each source file) but wonder what the hell is going on in the periods when the memory usage is flat. The peaks I am guessing are largely attributable to parsing the source

Re: [Haskell-cafe] How about Haskell Golf just like vimgolf.com

2011-01-04 Thread Markus Läll
On Mon, Jan 3, 2011 at 6:19 PM, Ertugrul Soeylemez e...@ertes.de wrote: Alex Kropivny alex.kropi...@gmail.com wrote: Could something like code abstraction be done instead? Haskell lends itself to solving problems in really generic, high level ways that reveal a LOT about the underlying

Re: [Haskell-cafe] Template Haskell a Permanent solution?

2011-01-04 Thread Christian Maeder
Am 27.12.2010 08:44, schrieb Henning Thielemann: On Mon, 27 Dec 2010, Jonathan Geddes wrote: #1 Parse a string at compile-time so that a custom syntax for representing data can be used. At the extreme, this data might even be an EDSL. I think it would be enough, if the compiler could be

[Haskell-cafe] GHC.Paths (libDir)

2011-01-04 Thread Serguey Zefirov
I am looking at GHC API examples page: http://www.haskell.org/haskellwiki/GHC/As_a_library One of examples use import GHC.Paths ( libDir) and mentions that it needs -package ghc-paths option. I tried the second example with latest Haskell Platform (Windows). I commented out libDir = /usr... as

[Haskell-cafe] GHC.Paths (libDir)

2011-01-04 Thread Serguey Zefirov
I figured that out, thank you if you are writing answer. ;) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Template Haskell a Permanent solution?

2011-01-04 Thread Dominique Devriese
All, 2010/12/27 Jonathan Geddes geddes.jonat...@gmail.com: I see TH used most for the following tasks: #1 Parse a string at compile-time so that a custom syntax for representing data can be used. At the extreme, this data might even be an EDSL. #2 Provide instances automatically. Just a

Re: [Haskell-cafe] Template Haskell a Permanent solution?

2011-01-04 Thread Henning Thielemann
Christian Maeder schrieb: Am 27.12.2010 08:44, schrieb Henning Thielemann: On Mon, 27 Dec 2010, Jonathan Geddes wrote: #2 Provide instances automatically. http://www.haskell.org/ghc/docs/7.0-latest/html/users_guide/generic-classes.html I see the text below and have no idea where the

Re: [Haskell-cafe] Template Haskell a Permanent solution?

2011-01-04 Thread Christian Maeder
Am 04.01.2011 15:48, schrieb Henning Thielemann: Christian Maeder schrieb: Am 27.12.2010 08:44, schrieb Henning Thielemann: On Mon, 27 Dec 2010, Jonathan Geddes wrote: #2 Provide instances automatically. http://www.haskell.org/ghc/docs/7.0-latest/html/users_guide/generic-classes.html I see

Re: [Haskell-cafe] tplot and splot - analyst's swiss army knifes for visualizing log files

2011-01-04 Thread Eugene Kirpichov
Hi Brandon, I would happily use a better online presentation sharing tool if I knew of one - I am a novice in this respect. Which do you suggest? 02.01.2011, в 3:43, Brandon S Allbery KF8NH allb...@ece.cmu.edu написал(а): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 still catching up

Re: [Haskell-cafe] [Haskell] ANNOUNCE: haskell-src-meta 0.3

2011-01-04 Thread Ben Millwood
It seems I wasn't subscribed to haskell-cafe so this reply didn't get through (sorry for sending this twice, Felipe). I've now subscribed with delivery turned off for -cafe so if you want me to read a response be sure to address me directly :) On Tue, Jan 4, 2011 at 5:08 AM, Ben Millwood

Re: [Haskell-cafe] tplot and splot - analyst's swiss army knifes for visualizing log files

2011-01-04 Thread Eugene Kirpichov
Thanks for pointing out the issue, Lars - though I personally do not think that 2mb is a sizeable chunk by measures of most modern mail hostings, and though the offending letter can simply be deleted, I agree that for some purposes attaching megabyte-sized files to wide mailing list postings

Re: [Haskell-cafe] tplot and splot - analyst's swiss army knifes for visualizing log files

2011-01-04 Thread Henning Thielemann
Eugene Kirpichov schrieb: I would happily use a better online presentation sharing tool if I knew of one - I am a novice in this respect. Which do you suggest? For me a plain PDF file, say on code.haskell.org or projects.haskell.org is the best way.

Re: [Haskell-cafe] Odd profiling results

2011-01-04 Thread Erik de Castro Lopo
Malcolm Wallace wrote: The peaks I am guessing are largely attributable to parsing the source files. Then, once the source has been converted to an AST, the DDC compiler is presumably doing some analysis before moving on to the next file? I think these are the well-behaved flat bits.

Re: [Haskell-cafe] tplot and splot - analyst's swiss army knifes for visualizing log files

2011-01-04 Thread Eugene Kirpichov
Thanks Hennig, this sounds very good indeed! I haven't thought of this. 04.01.2011, в 22:51, Henning Thielemann schlepp...@henning-thielemann.de написал(а): Eugene Kirpichov schrieb: I would happily use a better online presentation sharing tool if I knew of one - I am a novice in this

Re: [Haskell-cafe] tplot and splot - analyst's swiss army knifes for visualizing log files

2011-01-04 Thread Lars Viklund
On Tue, Jan 04, 2011 at 10:44:10PM +0200, Eugene Kirpichov wrote: Thanks for pointing out the issue, Lars - though I personally do not think that 2mb is a sizeable chunk by measures of most modern mail hostings, and though the offending letter can simply be deleted, I agree that for some

[Haskell-cafe] Trouble installing FileManipCompat

2011-01-04 Thread Tony Miller
Hi, I'm trying to install FileManipCompat(well, really HStringTemplateHelpers, but the error is from FileManipCompat) and I'm getting this error: [1 of 1] Compiling System.FilePath.FindCompat ( System/FilePath/FindCompat.hs, dist/build/System/FilePath/FindCompat.o )

Re: [Haskell-cafe] Trouble installing FileManipCompat

2011-01-04 Thread Daniel Fischer
On Wednesday 05 January 2011 01:54:36, Tony Miller wrote: Hi, I'm trying to install FileManipCompat(well, really HStringTemplateHelpers, but the error is from FileManipCompat) and I'm getting this error: [1 of 1] Compiling System.FilePath.FindCompat ( System/FilePath/FindCompat.hs,

[Haskell-cafe] UTF-8 BOM

2011-01-04 Thread Tony Morris
I am reading files with System.IO.readFile. Some of these files start with a UTF-8 Byte Order Marker (0xef 0xbb 0xbf). For some functions that process this String, this causes choking so I drop the BOM as shown below. This feels particularly hacky, but I am not in control of many of these

[Haskell-cafe] Building lambdabot

2011-01-04 Thread Joe Bruce
I've had a bit of an adventure trying to build and run lambdabothttp://hackage.haskell.org/package/lambdabot-4.2.2.1 on my box. 'cabal install lambdabot' does not work. It states it's not GHC 6.12 (and certainly not 7.0) compatible, but I tried 6.12 anyway and got nowhere. Next, I tried 6.10

Re: [Haskell-cafe] UTF-8 BOM

2011-01-04 Thread Antoine Latter
On Tue, Jan 4, 2011 at 7:08 PM, Tony Morris tonymor...@gmail.com wrote: I am reading files with System.IO.readFile. Some of these files start with a UTF-8 Byte Order Marker (0xef 0xbb 0xbf). For some functions that process this String, this causes choking so I drop the BOM as shown below. This

Re: [Haskell-cafe] UTF-8 BOM

2011-01-04 Thread Albert Y. C. Lai
On 11-01-04 08:08 PM, Tony Morris wrote: I am reading files with System.IO.readFile. Some of these files start with a UTF-8 Byte Order Marker (0xef 0xbb 0xbf). There is System.IO.utf8_bom for that. Of course, then you can't use readFile; but you can use openFile and hGetContents.