Re: [GHC] #149: missed CSE opportunity

2008-02-18 Thread GHC
#149: missed CSE opportunity --+- Reporter: nobody| Owner: Type: run-time performance bug | Status: new Priority: normal|

Re: [GHC] #1890: Regression in mandelbrot benchmark due to inlining

2008-02-18 Thread GHC
#1890: Regression in mandelbrot benchmark due to inlining --+- Reporter: dons | Owner: Type: run-time performance bug | Status: closed Priority: high

Re: [GHC] #594: Support use of SSE2 in the x86 native code genreator

2008-02-18 Thread GHC
#594: Support use of SSE2 in the x86 native code genreator +--- Reporter: simonmar| Owner: Type: task| Status: new Priority: normal |

Re: [GHC] #2014: getLinkDeps panic

2008-02-18 Thread GHC
#2014: getLinkDeps panic --+- Reporter: fons | Owner: Type: bug | Status: new Priority: high | Milestone: 6.8.3 Component: Compiler |Version: 6.8.2

Re: [GHC] #1791: heap overflow should generate an exception

2008-02-18 Thread GHC
#1791: heap overflow should generate an exception -+-- Reporter: guest| Owner: Type: feature request | Status: new Priority: normal | Milestone:

Re: [GHC] #1992: 6.8.2 intermittent build failure on multiple OS X versions

2008-02-18 Thread GHC
#1992: 6.8.2 intermittent build failure on multiple OS X versions --+- Reporter: guest | Owner: Type: bug | Status: new Priority: normal| Milestone: 6.8.3

Re: [GHC] #2088: GHC messages do not reflect argument name changes

2008-02-18 Thread GHC
#2088: GHC messages do not reflect argument name changes ---+ Reporter: sethkurtzberg | Owner: igloo Type: bug| Status: new Priority: normal | Milestone:

Re: [GHC] #2087: On a PPC Mac OS X 10.4, the RTS reports Memory leak detected running a program compiled with -debug -threaded -fhpc

2008-02-18 Thread GHC
#2087: On a PPC Mac OS X 10.4, the RTS reports Memory leak detected running a program compiled with -debug -threaded -fhpc +--- Reporter: thorkilnaur | Owner: simonmar Type: bug |

Re: [GHC] #2099: Storable instance for Complex

2008-02-18 Thread GHC
#2099: Storable instance for Complex +--- Reporter: jedbrown| Owner: Type: proposal| Status: new Priority: normal | Milestone: Not GHC Component:

Re: [GHC] #1984: weird performance drop with -O2 on x86

2008-02-18 Thread GHC
#1984: weird performance drop with -O2 on x86 --+- Reporter: guest | Owner: Type: bug | Status: closed Priority: normal| Milestone: 6.8 branch Component:

Re: [GHC] #1589: Process creation and communication doesn't scale linearly

2008-02-18 Thread GHC
#1589: Process creation and communication doesn't scale linearly +--- Reporter: guest | Owner: simonmar Type: bug | Status: new Priority: normal

Re: [GHC] #2098: validate fails for PPC Mac OS X 10.4

2008-02-18 Thread GHC
#2098: validate fails for PPC Mac OS X 10.4 -+-- Reporter: thorkilnaur | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 6.10 branch

Re: [GHC] #2105: garbage collection confusing in ghci for foreign objects

2008-02-18 Thread GHC
#2105: garbage collection confusing in ghci for foreign objects --+- Reporter: Frederik | Owner: Type: run-time performance bug | Status: new Priority: normal

Re: [GHC] #2105: garbage collection confusing in ghci for foreign objects

2008-02-18 Thread GHC
#2105: garbage collection confusing in ghci for foreign objects --+- Reporter: Frederik | Owner: Type: run-time performance bug | Status: closed Priority: normal

Re: [GHC] #1544: Derived Read instances for recursive datatypes with infix constructors are too inefficient

2008-02-18 Thread GHC
#1544: Derived Read instances for recursive datatypes with infix constructors are too inefficient --+- Reporter: [EMAIL PROTECTED] | Owner: Type: bug | Status: new

Re: [GHC] #2099: Storable instance for Complex

2008-02-18 Thread GHC
#2099: Storable instance for Complex +--- Reporter: jedbrown| Owner: Type: proposal| Status: new Priority: normal | Milestone: Not GHC Component:

Re: [GHC] #2099: Storable instance for Complex

2008-02-18 Thread GHC
#2099: Storable instance for Complex +--- Reporter: jedbrown| Owner: Type: proposal| Status: new Priority: normal | Milestone: Not GHC Component:

[GHC] #2110: Rules to eliminate casted id's

2008-02-18 Thread GHC
#2110: Rules to eliminate casted id's +--- Reporter: igloo| Owner: Type: feature request | Status: new Priority: normal | Milestone: 6.10 branch

[GHC] #2111: Incorrect arrow rec {} notation crashes in ghci

2008-02-18 Thread GHC
#2111: Incorrect arrow rec {} notation crashes in ghci ---+ Reporter: luqui | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 6.8.1

Re: [GHC] #2071: hp2ps does not handle SCCs with spaces in the identifiers

2008-02-18 Thread GHC
#2071: hp2ps does not handle SCCs with spaces in the identifiers ---+ Reporter: benl | Owner: Type: bug| Status: new Priority: normal | Milestone: 6.8.3

Re: [GHC] #2064: problems with duplicate modules

2008-02-18 Thread GHC
#2064: problems with duplicate modules --+- Reporter: Frederik | Owner: Type: bug | Status: new Priority: normal| Milestone: 6.8 branch Component: Compiler |

Recursion over lists

2008-02-18 Thread TOPE KAREM
Hello everyone, I am just learning to program in Haskell, and I found recursion very interesting. However, I need to write a recursive function over two lists. The function must check the elements in the two lists and return an element that is common to both lists if there is any. Any

Re: GHC build failures on Mac OS X Leopard: ppc x86

2008-02-18 Thread Manuel M T Chakravarty
Sean Leather: I tried to build GHC stable on my two computers, a PowerBook G4 and a MacBook, both running 10.5.2. This is the first time I've ever tried, so I'm somewhat clueless about a lot of it. I went with the basic instructions (./configure; make) with no 'mk/build.mk' and no configure

Re: Recursion over lists

2008-02-18 Thread Philippa Cowderoy
On Mon, 18 Feb 2008, TOPE KAREM wrote: Hello everyone, I am just learning to program in Haskell, and I found recursion very interesting. However, I need to write a recursive function over two lists. The function must check the elements in the two lists and return an element that is

Re: GHC build failures on Mac OS X Leopard: ppc x86

2008-02-18 Thread Sean Leather
Hi, Manuel M T Chakravarty: I can't help you with the PPC, but on the MacBook try building with make EXTRA_AR_ARGS=-s It's a known bug with Cabal. Thanks, Manuel, it builds now. Afterwards, I ran 'make' in 'testsuite/tests/ghc-regress' and got this: OVERALL SUMMARY for test run started

Re: a help for install

2008-02-18 Thread Stefan O'Rear
On Mon, Feb 18, 2008 at 12:46:19PM -0600, Carlos Gomez A. wrote: hi, my name is carlos I need information for correct installor what are dependencies on ghc ? I have a Debian System. I have this message error to install the ghc: Debian-System/haskell/ghc-6.8.2# ./configure

Re: GHC build failures on Mac OS X Leopard: ppc x86

2008-02-18 Thread Manuel M T Chakravarty
Sean Leather: Manuel M T Chakravarty: I can't help you with the PPC, but on the MacBook try building with make EXTRA_AR_ARGS=-s It's a known bug with Cabal. Thanks, Manuel, it builds now. Afterwards, I ran 'make' in 'testsuite/tests/ghc-regress' and got this: OVERALL SUMMARY for test

[Haskell] Cfp: 3rd Int'l Workshop on Security and Rewriting Techniques Security (SecReT 2008)

2008-02-18 Thread Santiago Escobar
SecReT 2008 3rd International Workshop on Security and Rewriting Techniques http://www.dsic.upv.es/workshops/secret08

[Haskell] Funded PhD studentships at the University Of Kent

2008-02-18 Thread S.J.Thompson
Funding is available for the following PhD studentships within the TCS group at the University of Kent. Applicants should contact the project supervisor directly for further details. Project Supervisor: Dr Olaf Chitil ([EMAIL PROTECTED]) Project Title: Tracing Functional Programs with Hat Hat

[Haskell] Re: RE: Extensible records: Static duck typing

2008-02-18 Thread Ben Franksen
[I replied on @cafe but didn't get any response. Trying again here.] Barney Hilken wrote: What about just implementing the cheapest solution that still gets us most of the way? (3) If it is as cheap (to implement) as advertised then there is no great risk involved. If it turns out the

Re: [Haskell] Re: RE: Extensible records: Static duck typing

2008-02-18 Thread Barney Hilken
Begin forwarded message: From: Ben Franksen [EMAIL PROTECTED] Date: 18 February 2008 21:32:29 GMT To: haskell@haskell.org Could you be more specific? Which proposals exactly do you mean and where can I read more about them? Hlist is one of the ones | was thinking of. Two more are poor

RE: [Haskell-cafe] Re: problem with collection (container) class

2008-02-18 Thread Simon Peyton-Jones
Good point. Happily I improved the error message a couple of weeks ago, so it'll be better in the next release Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Fischer | Sent: 08 February 2008 22:24 | To: Ben Franksen;

Re: [Haskell-cafe] Stack overflow

2008-02-18 Thread Philip Armstrong
On Sun, Feb 17, 2008 at 10:01:14PM +, Adrian Hey wrote: Philip Armstrong wrote: Since no-one else has answered, I'll take a stab. Obiously, you have a stack leak due to laziness somewhere I wouldn't say that was obvious, though it is certainly a possibility. I'm never exactly clear what

Re: [Haskell-cafe] Stack overflow

2008-02-18 Thread Philip Armstrong
On Sun, Feb 17, 2008 at 11:45:26PM +, Adrian Hey wrote: But I guess this rant is not much help to the OP :-) Can the Get Monad from Data.Binary be replaced by the one in Data.Binary.Strict.Get? Would probably require some hacking on the library I guess. Phil -- http://www.kantaka.co.uk/

[Haskell-cafe] Re: Working with multiple time zones

2008-02-18 Thread Ashley Yakeley
Don Stewart wrote: Perhaps we should get a binding to tzset in the unix library? That's probably preferable to calling tzset() before every localtime_r. But perhaps we want a call that combines the putenv and the tzset, just so it exposes fewer implementation details. This is essentially

Re: [Haskell-cafe] naming a data structure for weighted random selection without replacement

2008-02-18 Thread Henning Thielemann
On Mon, 18 Feb 2008, Stuart Cook wrote: A while ago I wrote a little data structure that allows weighted random selection-without-replacement from a collection of values in O(log n) time.[1] I'm now in the process of packaging it up for Hackage, but I'm looking for good names for both the

Re: [Haskell-cafe] More powerful error handling

2008-02-18 Thread Henning Thielemann
On Sun, 17 Feb 2008, Philippa Cowderoy wrote: The nicest use would be for converting between a more specific error type and a more general one that handles a wider range of errors - enabling us to keep tighter track of which errors are possible in a given piece of code. Bonus points for

Re: [Haskell-cafe] naming a data structure for weighted random selection without replacement

2008-02-18 Thread Luke Palmer
On Feb 18, 2008 5:11 AM, Stuart Cook [EMAIL PROTECTED] wrote: A while ago I wrote a little data structure that allows weighted random selection-without-replacement from a collection of values in O(log n) time.[1] I'm now in the process of packaging it up for Hackage, but I'm looking for good

Re: [Haskell-cafe] naming a data structure for weighted random selection without replacement

2008-02-18 Thread Michał Pałka
On Mon, 2008-02-18 at 11:37 +, Luke Palmer wrote: On Feb 18, 2008 5:11 AM, Stuart Cook [EMAIL PROTECTED] wrote: A while ago I wrote a little data structure that allows weighted random selection-without-replacement from a collection of values in O(log n) time.[1] I'm now in the process

Re: [Haskell-cafe] Stack overflow

2008-02-18 Thread Grzegorz Chrupala
Philip Armstrong wrote: On Sun, Feb 17, 2008 at 10:01:14PM +, Adrian Hey wrote: Philip Armstrong wrote: Since no-one else has answered, I'll take a stab. Obiously, you have a stack leak due to laziness somewhere I wouldn't say that was obvious, though it is certainly a possibility.

[Haskell-cafe] Re: Doubting Haskell

2008-02-18 Thread Simon Marlow
Bryan O'Sullivan wrote: Stefan O'Rear wrote: I'll bet that breaks horribly in the not-so-corner case of /dev/tty. Actually, it doesn't. It seems to do a read behind the scenes if the buffer is empty, so it blocks until you type something. Indeed, and this is why even an unbuffered Handle

[Haskell-cafe] Haskell Thrift bindings

2008-02-18 Thread Dave Tapley
Hi everyone, This is regarding Thrift, a software framework for scalable cross-language services development(1) Present in the release tarball there is some source for Haskell but no sign of a tutorial or any sample code. I'm just picking through but as a long shot does anyone have examples they

Re: [Haskell-cafe] Stack overflow

2008-02-18 Thread Adrian Hey
Philip Armstrong wrote: On Sun, Feb 17, 2008 at 10:01:14PM +, Adrian Hey wrote: BTW, I find this especially ironic as fromDistinctAscList is the perfect example what I was talking about in another thread (continuation passing madness caused by an irrational fear of stack use). In *some*

[Haskell-cafe] Re: A question about monad laws

2008-02-18 Thread Ben Franksen
Wilhelm B. Kloke wrote: Ben Franksen [EMAIL PROTECTED] schrieb: Wilhelm B. Kloke wrote: [EMAIL PROTECTED] [EMAIL PROTECTED] schrieb: I would consider a good idea if ghc would provide language support to this sort of integers. No need, you can do that for yourself: {-# LANGUAGE

Re: [Haskell-cafe] Stack overflow

2008-02-18 Thread Philip Armstrong
On Mon, Feb 18, 2008 at 05:56:41PM +, Adrian Hey wrote: Philip Armstrong wrote: On Sun, Feb 17, 2008 at 10:01:14PM +, Adrian Hey wrote: BTW, I find this especially ironic as fromDistinctAscList is the perfect example what I was talking about in another thread (continuation passing

Re: [Haskell-cafe] Arrow combinator names

2008-02-18 Thread Brent Yorgey
On Sun, Feb 17, 2008 at 10:37 PM, Tom Davies [EMAIL PROTECTED] wrote: Are there generally accepted English language names for the arrow combinators? compose? Well, compose usually means something with type (a c d - a b c - a b d), but () has the dual type (a b c - a c d - a b d). So it's

[Haskell-cafe] Re: naming a data structure for weighted random selection without replacement

2008-02-18 Thread Brett Gibson
Stuart Cook scook0 at gmail.com writes: The name I have at the moment is Pool, which I'm reasonably happy with, but I wanted to see if I could find anything better. Asking on #haskell got me a few responses: ... Any suggestions? How about Tombola? Brett

Re: [Haskell-cafe] Re: Working with multiple time zones

2008-02-18 Thread Yitzchak Gale
Brandon S. Allbery KF8NH wrote: some platforms require tzset() to recognize timezone changes. I think it is something like - POSIX requires the tzset() call, but in ANSI C 98 there is no tzset() and localtime() always rechecks TZ automatically. Right? In the man page on Mac OS X Tiger (Darwin

[Haskell-cafe] build-depends contraints in a .cabal file

2008-02-18 Thread Antoine Latter
Can I specify an equality constraint in the build-depends field of a .cabal file? This would say that I want one specific version (because all the rest of my packages are compiled against that version and I'm getting type-checking errors trying to install the new package). neither

Re: [Haskell-cafe] naming a data structure for weighted random selection without replacement

2008-02-18 Thread Isaac Dupree
Michał Pałka wrote: On Mon, 2008-02-18 at 11:37 +, Luke Palmer wrote: On Feb 18, 2008 5:11 AM, Stuart Cook [EMAIL PROTECTED] wrote: A while ago I wrote a little data structure that allows weighted random selection-without-replacement from a collection of values in O(log n) time.[1] I'm now

Re: [Haskell-cafe] naming a data structure for weighted random selection without replacement

2008-02-18 Thread Stuart Cook
On Tue, Feb 19, 2008 at 1:27 PM, Isaac Dupree [EMAIL PROTECTED] wrote: the without replacement thing is more specific. Although maybe the design could accomodate selection-with-replacement in the same package too Once you have without-replacement, with-replacement is easy: just re-use the old