Re: [GHC] #2683: Boxy-type ASSERT failure in 6.10: panic in xmonad-contrib

2008-10-24 Thread GHC
#2683: Boxy-type ASSERT failure in 6.10: panic in xmonad-contrib --+- Reporter: dons | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #2063: Breackage on OpenBSD due to mmap remap

2008-10-24 Thread GHC
#2063: Breackage on OpenBSD due to mmap remap +--- Reporter: dons| Owner: Type: bug | Status: new Priority: normal | Milestone:

Re: SVN binding with Haskell

2008-10-24 Thread Christian Maeder
just to correct a false impression. One part of my problem (point 3. below) was a wrong hsc2hs program that was found in my PATH by accident (that also caused http://www.haskell.org/pipermail/cabal-devel/2008-October/003980.html) Cheers Christian Christian Maeder wrote: Hi, I've install

Re: could ghci debugger search for free variables better?

2008-10-24 Thread Simon Marlow
Peter Hercek wrote: May be my approach to debugging with ghci is wrong but in about half of the time I find ghci (as a debugger) almost useless. The reason is the limited way it can resolve identifiers. I can examine the free variables in the selected expression and nothing else. Well, I

Re: could ghci debugger search for free variables better?

2008-10-24 Thread Peter Hercek
Simon Marlow wrote: We thought about this when working on the debugger, and the problem is that to make the debugger retain all the variables that are in scope rather than just free in the expression adds a lot of overhead, and it fundamentally changes the structure of the generated code:

Re: [Haskell] Current XML libraries status

2008-10-24 Thread Vesa Kaihlavirta
2008/10/24 Donnie Jones [EMAIL PROTECTED]: Hello Krasimir, There is also the xml package from Galois: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xml That looks nice. Are there any examples of its usage? --vk ___ Haskell mailing

Re: [Haskell] Current XML libraries status

2008-10-24 Thread Ketil Malde
Krasimir Angelov [EMAIL PROTECTED] writes: Does some one have made performance tests on the different XML libraries for Haskell? I have a 20MB xml file that I want to read. I remember from my earlier experiments (years ago) that all libraries were too slow and were consuming too much

[Haskell] Re: Current XML libraries status

2008-10-24 Thread Krasimir Angelov
Thanks to everyone who answered. HXML still seems to be the best for me. It is fast and it has good Arrow interface. It is also a small and simple library. I tried also HXT with this example: http://www.haskell.org/haskellwiki/HXT#Getting_started:_Hello_world_examples but it just died with out

Re: [Haskell] Re: Current XML libraries status

2008-10-24 Thread Uwe Schmidt
Hello Krasimir, Thanks to everyone who answered. HXML still seems to be the best for me. It is fast and it has good Arrow interface. It is also a small and simple library. I tried also HXT with this example: http://www.haskell.org/haskellwiki/HXT#Getting_started:_Hello_world_example s but

[Haskell] ANNOUNCE: lhs2tex-1.14

2008-10-24 Thread Andres Loeh
lhs2TeX version 1.14 We are pleased to announce a new release of lhs2TeX, a preprocessor to generate LaTeX code from literate Haskell sources. lhs2TeX includes the following features: * Highly customized output. * Liberal parser

Re: [Haskell] ANNOUNCE: colour 0.0.0

2008-10-24 Thread Sebastian Sylvan
On Wed, Oct 22, 2008 at 1:12 AM, [EMAIL PROTECTED] wrote: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/colour-0.0.0 I hope for this library to become the standard colour library for Haskell. Most software does not properly blend colours because they fail to gamma-correct the

Re: [Haskell] Re: Current XML libraries status

2008-10-24 Thread David F. Place
I tried to use HXT's readDocument with its tagsoup option for my application. I couldn't find a way to construct the operation that didn't run out of memory. I'll attach some code using HaXml's saxParse so you can see what I want. Is that easy to do in HXT? I simply want the

Re: [Haskell] ANNOUNCE: colour 0.0.0

2008-10-24 Thread roconnor
On Fri, 24 Oct 2008, Sebastian Sylvan wrote: It would be nice if we could customize the gamma curve. Different devices have different gamma. Some hardware even approximates the gamma curve with piecewise linear functions. This can make a massive difference if you, e.g. degamma the image

Re: [Haskell] ANNOUNCE: colour 0.0.0

2008-10-24 Thread Sebastian Sylvan
On Fri, Oct 24, 2008 at 8:12 PM, [EMAIL PROTECTED] wrote: On Fri, 24 Oct 2008, Sebastian Sylvan wrote: It would be nice if we could customize the gamma curve. Different devices have different gamma. Some hardware even approximates the gamma curve with piecewise linear functions. This can

Re: [Haskell] Current XML libraries status

2008-10-24 Thread Marc A. Ziegert
there was a thread about xml parsing, one month ago. http://thread.gmane.org/gmane.comp.lang.haskell.cafe/44708 well, i don't know much about xml, except what it looks like; but i know about that interesting parsing problem behind it. maybe Lev Walkin has fixed that in HXML. at least he wrote this

[Haskell-cafe] Re: Sorry, but I'm in the mood (again)

2008-10-24 Thread Benjamin L . Russell
On Fri, 24 Oct 2008 07:35:36 +0200, Achim Schneider [EMAIL PROTECTED] wrote: http://www.haskell.org/haskellwiki/?title=Special:Categories What are the mathematical properties of those Categories? Do they share common axioms? Oh, come on! Stop talking abstract nonsense (see

[Haskell-cafe] Re: Sorry, but I'm in the mood (again)

2008-10-24 Thread Achim Schneider
Benjamin L.Russell [EMAIL PROTECTED] wrote: On Fri, 24 Oct 2008 07:35:36 +0200, Achim Schneider [EMAIL PROTECTED] wrote: http://www.haskell.org/haskellwiki/?title=Special:Categories What are the mathematical properties of those Categories? Do they share common axioms? Oh, come on!

[Haskell-cafe] duplicate instance declarations. Why?

2008-10-24 Thread Alberto G. Corona
with: {-# OPTIONS -fglasgow-exts -fallow-undecidable-instances #-} class A a class R a class S a instance R a = A a instance S a = A a -- GHC gives *Duplicate instance declarations* * instance R a = A a * * instance S a = A a * ** *Why?*

[Haskell-cafe] darcs hacking sprint TOMORROW!

2008-10-24 Thread Eric Kow
Hi all, Just pointing out that the darcs hacking sprint is taking place tomorrow (Saturday and Sunday 25-26 October)! Our Brighton and Portland venues are still open, so if you are thinking of dropping by, let us know :-) http://wiki.darcs.net/index.html/Sprints Cheers, -- Eric Kow

Re: [Haskell-cafe] duplicate instance declarations. Why?

2008-10-24 Thread Bulat Ziganshin
Hello Alberto, Friday, October 24, 2008, 12:20:39 PM, you wrote: instance  R a = A a instance S a = A a   Duplicate instance declarations Why? because you may write in other module instance R Int instance S Int if class A includes functions, it may be problematic to determine which

Re: [Haskell-cafe] duplicate instance declarations. Why?

2008-10-24 Thread Ryan Ingram
Instance instantiation is *not* search, and *not* similar to subclassing in OO languages. Both your instance declarations simply add constraints to functions that use it. Here's a more concrete example: class A a where doA :: a - String class R a where doR :: a - String instance R Int

Re: [Haskell-cafe] Functional MetaPost in 5 Steps

2008-10-24 Thread Robin Green
On Thu, 23 Oct 2008 22:13:10 -0700 Jared Updike [EMAIL PROTECTED] wrote: I can't even get a simple example to show up in a PDF file I can't even get my simple example to show up anywhere, period. PDF, DVI, PS - anything. No matter which way I try, and I've tried lots, I always hit some kind of

Re: [Haskell-cafe] universal algebra support in Haskell?

2008-10-24 Thread Henning Thielemann
On Fri, 24 Oct 2008, Galchin, Vasili wrote: I cabal installed numeric-prelude .. however, unlike other packages(e.g. Sqlite3), I am unable to :m numeric-prelude in a ghci session.?? ':m' is for importing modules not packages, at least up to GHC-6.8.2. For playing around with the package I

[Haskell-cafe] RE: [Haskell] Current XML libraries status

2008-10-24 Thread Mitchell, Neil
Redirected to haskell-cafe, since that's where all discussions should go (haskell = announcments only) Does some one have made performance tests on the different XML libraries for Haskell? I have a 20MB xml file that I want to read. I remember from my earlier experiments (years ago)

[Haskell-cafe] Re: universal algebra support in Haskell?

2008-10-24 Thread Chung-chieh Shan
Galchin, Vasili [EMAIL PROTECTED] wrote in article [EMAIL PROTECTED] in gmane.comp.lang.haskell.cafe: Do you have any examples of say instance Lattice? http://web.cecs.pdx.edu/~mpj/pubs/lattices.html http://web.cecs.pdx.edu/~mpj/pubs/springschool.html -- Edit this signature at

Re: [Haskell-cafe] Crash!

2008-10-24 Thread Tim Newsham
The point is... I'm not doing that. Gtk2hs is, but that's a well-tested library, so I very much doubt it's the source of the bug. I don't understand why Haskell users believe (perhaps are too often led to believe) that haskell programs can't crash. Gtk2hs does a lot of native stuff. Gtk's

Re: [Haskell-cafe] Crash!

2008-10-24 Thread Don Stewart
newsham: The point is... I'm not doing that. Gtk2hs is, but that's a well-tested library, so I very much doubt it's the source of the bug. I don't understand why Haskell users believe (perhaps are too often led to believe) that haskell programs can't crash. Gtk2hs does a lot of native

Re: [Haskell-cafe] Crash!

2008-10-24 Thread Andrew Coppin
Bulat Ziganshin wrote: Hello Andrew, Thursday, October 23, 2008, 11:42:04 PM, you wrote: Theoretically, feeding invalid coordinates to the program might make it run off the end of the IOUArray (or maybe off the beginning of it), but I don't see what that has to do with GTK+...

[Haskell-cafe] Fixed: Crash!

2008-10-24 Thread Andrew Coppin
Andrew Coppin wrote: I'm actually wondering if my code is writing off the end of an array and this just happens to hit some data structure used by GTK+? (In which case, minute changes in linkage, etc., would disturb the bug.) Yep, that's what it was. (Although not where I was expecting it to

Re: [Haskell-cafe] Crash!

2008-10-24 Thread Andrew Coppin
Tim Newsham wrote: The point is... I'm not doing that. Gtk2hs is, but that's a well-tested library, so I very much doubt it's the source of the bug. I don't understand why Haskell users believe (perhaps are too often led to believe) that haskell programs can't crash. Gtk2hs does a lot of

[Haskell-cafe] hackage feature request: revision control location

2008-10-24 Thread zooko
Hi folks: I'm trying to use hackage/cabal/cabal-install, and I have a feature request: it would be nice if the metadata about the package, which is displayed on e.g. hackage-scripts/package/HTTP had a field for the revision control tool that is used on that package (if any) and the

Re: [Haskell-cafe] Crash!

2008-10-24 Thread Tim Newsham
Haskell programs with particular constraints (i.e. pure, total Haskell, doesn't primarily call gtk...) Yup, and that's a great thing that we should be evangelizing to all potential users. No need to go overboard and tell them that there will never be a crash, though.. The robustness claim is

[Haskell-cafe] The Haskell type inference feature I'd really like to see

2008-10-24 Thread Dan Piponi
I'd like to be able to write something like map zipWith ([1,2,3] = printMyInferredType) and have the compiler treat 'printMyInferredType' as undefined, but also produce the side effect of printing out its inferred type. What's the easiest way to simulate this with what we have now? -- Dan

Re: [Haskell-cafe] The Haskell type inference feature I'd really like to see

2008-10-24 Thread John Meacham
On Fri, Oct 24, 2008 at 01:38:23PM -0700, Dan Piponi wrote: I'd like to be able to write something like map zipWith ([1,2,3] = printMyInferredType) and have the compiler treat 'printMyInferredType' as undefined, but also produce the side effect of printing out its inferred type. What's

[Haskell-cafe] ANN: Lambdabot 4.2.2

2008-10-24 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 A quick note. Today was released the 4.2.2 version of the IRC bot Lambdabot. You can find it at http://hackage.haskell.org/cgi-bin/hackage-scripts/package/lambdabot-4.2.2, and the usual Darcs repository http://code.haskell.org/lambdabot. What is

[Haskell-cafe] Re: [Haskell] ANNOUNCE: colour 0.0.0

2008-10-24 Thread roconnor
On Fri, 24 Oct 2008, Sebastian Sylvan wrote: Another useful predefined space which I didn't see is the YCoCg space, which is used in lots of compression schemes (like H.264 IIRC). YCoCg, like HLS and HSV, seems to not really be a colour space because it isn't well specified. A

Re: [Haskell-cafe] hackage feature request: revision control location

2008-10-24 Thread Henning Thielemann
On Fri, 24 Oct 2008, zooko wrote: Hi folks: I'm trying to use hackage/cabal/cabal-install, and I have a feature request: it would be nice if the metadata about the package, which is displayed on e.g. hackage-scripts/package/HTTP had a field for the revision control tool that is used on