[GHC] #807: glibc double free error when running program compiled for profiling with -px RTS option

2006-06-28 Thread GHC
#807: glibc double free error when running program compiled for profiling with -px RTS option --+- Reporter: [EMAIL PROTECTED] |Owner: Type: bug| Status:

Re: [GHC] #807: glibc double free error when running program compiled for profiling with -px RTS option

2006-06-28 Thread GHC
#807: glibc double free error when running program compiled for profiling with -px RTS option --+- Reporter: [EMAIL PROTECTED]| Owner: Type: bug | Status: new

Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-28 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt +--- Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal |

Re: [GHC] #795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt

2006-06-28 Thread GHC
#795: ghc-6.5.20060607: panic! (the 'impossible' happened) ... initC: srt +--- Reporter: [EMAIL PROTECTED] | Owner: Type: bug| Status: new Priority: normal |

Re: [Haskell-cafe] Deducing Show for GADTs

2006-06-28 Thread Niklas Broberg
On 6/28/06, David Roundy [EMAIL PROTECTED] wrote: On Wed, Jun 28, 2006 at 11:52:51AM +0200, Joel Bjrnson wrote: Hi. I came a cross the following phenomena which, at least to me, occurs kind of awkward. The code below: data MyData a where DC1 :: (Show a ) = a - MyData a GADTs don't yet

Re: [Haskell-cafe] Packages and modules

2006-06-28 Thread Marc Weber
I'm not sure on which mail of this thread I should append MHO. What happens if two programmers happen to choose the same package name? (Prepend the location on the filesystem? ;-) If something like a package name is introduced I would prefer not separating package and module name with a .

Re: [Haskell-cafe] Packages and modules

2006-06-28 Thread Brian Hulley
Marc Weber wrote: I'm not sure on which mail of this thread I should append MHO. What happens if two programmers happen to choose the same package name? (Prepend the location on the filesystem? ;-) If something like a package name is introduced I would prefer not separating package and module

[Haskell] ANNOUNCE: hmp3 1.1

2006-06-28 Thread Donald Bruce Stewart
A new version of hmp3 has been released, version 1.1 hmp3 is a curses-based mp3 player written in Haskell. It is designed to be simple, fast and robust. This is mostly a maintenance, release, fixing support for ghc 6.4.2. However, you do get some new features: * Enable searching of the

[Haskell] Automatic installation of cabalized librraies

2006-06-28 Thread Bulat Ziganshin
Hello Jun, Wednesday, June 28, 2006, 9:58:11 AM, you wrote: These bindings are already cabalized, you have to type only as follows to install them: % runghc ./Setup.hs configure % runghc ./Setup.hs build # runghc ./Setup.hs install i propose to use the Makefile attached in all cabalized

[Haskell] ANN: MissingH 0.14.4

2006-06-28 Thread John Goerzen
I am pleased to announce a new version of MissingH. Changes since the last announcement include: * Fix a bug in ConfigParser.merge and write a test for it. * Fix cabal incompatibilies with GHC 6.4.2 * IO/StatCompat: Fixed missing Data.Bits import on mingw32 * Updated COPYING file with

[Haskell] Forcing Type Class Equality

2006-06-28 Thread john lask
** this is literate haskell hoping someone can help me. What I am trying to do is class Ba1 a ba1 :: Ba1 a = a - IO () ba1 x = print helllo what I wish to do is declare another function class Foo a proxy :: Foo a = a - IO () so that I can do something like proxy x = ba1 x this

RE: [Haskell] Forcing Type Class Equality

2006-06-28 Thread john lask
NB the essence what I am trying to do is to define a proxy class Foo for class Ba1 I would have thought that something as simple as the following would have worked ?? class Ba1 a where dosomething :: a - IO () ba1 :: Ba1 a = a - IO () ba1 x = dosomething x instance Ba1 Int where

[Haskell-cafe] Re: Comments from Brent Fulgham on Haskell and the shootout

2006-06-28 Thread Simon Marlow
John Meacham wrote: On Tue, Jun 27, 2006 at 02:58:05PM +0100, Simon Marlow wrote: .. (and jhc already generates native C code, so it will have at least one substantial advantage over GHC) ... Compiling via C is a dead end. We realised this about 5 years ago, and yet we still haven't managed

[Haskell-cafe] closures with side effects

2006-06-28 Thread tpledger
dkarapet wrote: I have been trying to understand closures in haskell and how they relate to side effects. I have been looking around but all I find are trivial examples with no side effects. Please let me know if you know of any examples. The side effects occur in the context that causes

Re: [Haskell-cafe] Re: how to write an haskell binding

2006-06-28 Thread minh thu
old mehopefully (well, i liked the discussions) this message will not spawn old meso much messages :) Still everyone will be pleased to know that I won't post any more about this subject now that the third true silent 'h' has been found :-) Best regards, Brian. my apologies ;) thu

[Haskell-cafe] Deducing Show for GADTs

2006-06-28 Thread Joel Björnson
Hi. I came a cross the following phenomena which, at least to me, occurs kind of awkward. The code below : data MyData a where DC1 :: (Show a ) = a - MyData a instance Show (MyData a) where show (DC1 a ) = show a yields the ghci error : 'Could not deduce (Show a) from the context (Show

Re: [Haskell-cafe] Deducing Show for GADTs

2006-06-28 Thread David Roundy
On Wed, Jun 28, 2006 at 11:52:51AM +0200, Joel Bjrnson wrote: Hi. I came a cross the following phenomena which, at least to me, occurs kind of awkward. The code below: data MyData a where DC1 :: (Show a ) = a - MyData a GADTs don't yet work right with classes. :( The above, however,

Re: [Haskell-cafe] Deducing Show for GADTs

2006-06-28 Thread Niklas Broberg
On 6/28/06, David Roundy [EMAIL PROTECTED] wrote: On Wed, Jun 28, 2006 at 11:52:51AM +0200, Joel Bjrnson wrote: Hi. I came a cross the following phenomena which, at least to me, occurs kind of awkward. The code below: data MyData a where DC1 :: (Show a ) = a - MyData a GADTs don't yet

Re: [Haskell-cafe] Are FunPtr's stable? (was: how to write an haskellbinding)

2006-06-28 Thread Brian Hulley
Simon Peyton-Jones wrote: Can I urge any of you who learn stuff that I wish I'd know at the beginning to add that information to GHC's FFI Wiki page? http://haskell.org/haskellwiki/GHC/Using_the_FFI Anyone can add to this material, and it's extremely helpful to jot down what you've learned while

Re: [Haskell-cafe] Packages and modules

2006-06-28 Thread Marc Weber
I'm not sure on which mail of this thread I should append MHO. What happens if two programmers happen to choose the same package name? (Prepend the location on the filesystem? ;-) If something like a package name is introduced I would prefer not separating package and module name with a .

[Haskell-cafe] Re: Cabal and linking with static libs (.a files)

2006-06-28 Thread Simon Marlow
Ketil Malde wrote: GHC puts the C library (-lafi) *before* Haskell library (-lHSfmi-0.0) that refers to it. Redoing the collect2 command but moving -lafi last does, in fact, work. Also, specifying extra-libraries in the cabal package works, as long as they are specified in the correct order.

Re: [Haskell-cafe] Packages and modules

2006-06-28 Thread Brian Hulley
Marc Weber wrote: I'm not sure on which mail of this thread I should append MHO. What happens if two programmers happen to choose the same package name? (Prepend the location on the filesystem? ;-) If something like a package name is introduced I would prefer not separating package and module

Re: [Haskell-cafe] Deducing Show for GADTs

2006-06-28 Thread Brandon Moore
Joel Björnson wrote: Hi. I came a cross the following phenomena which, at least to me, occurs kind of awkward. The code below : data MyData a where DC1 :: (Show a ) = a - MyData a instance Show (MyData a) where show (DC1 a ) = show a yields the ghci error : 'Could not deduce (Show

Re: [Haskell-cafe] how to write an haskell binding

2006-06-28 Thread Fritz Ruehr
On Jun 27, 2006, at 10:35 AM, Brian Hulley wrote: I suppose they are the exception that proves the rule... :-) Seems like there's a real opportunity here for someone who works in the area of inference systems for error handling ... . (Hmmm, pun-potential may not be the best way to pick a