Re: [GHC] #7487: Deriving Generic1 for a type containing Either

2012-12-07 Thread GHC
#7487: Deriving Generic1 for a type containing Either -+-- Reporter: spl | Owner: dreixel Type: bug | Status: new Priority: normal|

Re: [GHC] #7485: Tuple constraints not properly kinded

2012-12-07 Thread GHC
#7485: Tuple constraints not properly kinded ---+ Reporter: goldfire | Owner: Type: bug | Status: closed Priority: normal|

Re: [GHC] #5682: Properly parse kind operators (from promoted type operators)

2012-12-07 Thread GHC
#5682: Properly parse kind operators (from promoted type operators) -+-- Reporter: lunaris | Owner: dreixel Type: bug | Status: new

Re: [GHC] #7470: Patch to enable GHC runtime system with thr_debug_p options...

2012-12-07 Thread GHC
#7470: Patch to enable GHC runtime system with thr_debug_p options... --+- Reporter: MichalGajda| Owner: Type: bug| Status: new Priority:

Re: [GHC] #7471: Documentation bug: hs_init is incorrectly called in the example

2012-12-07 Thread GHC
#7471: Documentation bug: hs_init is incorrectly called in the example -+-- Reporter: dsign | Owner: simonmar Type: bug | Status: new Priority:

Re: [GHC] #7478: setSessionDynFlags does not always work

2012-12-07 Thread GHC
#7478: setSessionDynFlags does not always work -+-- Reporter: edsko | Owner: simonmar Type: bug | Status: new Priority: normal|

Re: [GHC] #7471: Documentation bug: hs_init is incorrectly called in the example

2012-12-07 Thread GHC
#7471: Documentation bug: hs_init is incorrectly called in the example -+-- Reporter: dsign | Owner: simonmar Type: bug | Status: new Priority:

Re: [GHC] #7471: Documentation bug: hs_init is incorrectly called in the example

2012-12-07 Thread GHC
#7471: Documentation bug: hs_init is incorrectly called in the example -+-- Reporter: dsign | Owner: simonmar Type: bug | Status: merge Priority:

Re: [GHC] #7445: template-haskell : need a good error message instead of just an unexplained panic

2012-12-07 Thread GHC
#7445: template-haskell : need a good error message instead of just an unexplained panic -+-- Reporter: erikd | Owner: Type: bug | Status: merge

Re: [GHC] #7320: GHC crashes when building on 32-bit Linux in a Linode

2012-12-07 Thread GHC
#7320: GHC crashes when building on 32-bit Linux in a Linode ---+ Reporter: benl| Owner: simonmar Type: bug | Status: new Priority: high

Re: [GHC] #7478: setSessionDynFlags does not always work

2012-12-07 Thread GHC
#7478: setSessionDynFlags does not always work -+-- Reporter: edsko | Owner: simonmar Type: bug | Status: new Priority: normal|

Re: [GHC] #7478: setSessionDynFlags does not always work

2012-12-07 Thread GHC
#7478: setSessionDynFlags does not always work -+-- Reporter: edsko | Owner: simonmar Type: bug | Status: merge Priority: normal|

[GHC] #7488: Promotion of newtypes

2012-12-07 Thread GHC
#7488: Promotion of newtypes -+-- Reporter: dreixel | Owner: Type: bug | Status: new Priority: normal| Component: Compiler

Re: [GHC] #7488: Promotion of newtypes

2012-12-07 Thread GHC
#7488: Promotion of newtypes -+-- Reporter: dreixel | Owner: Type: bug | Status: new Priority: normal| Component: Compiler

Re: [GHC] #7320: GHC crashes when building on 32-bit Linux in a Linode

2012-12-07 Thread GHC
#7320: GHC crashes when building on 32-bit Linux in a Linode ---+ Reporter: benl| Owner: simonmar Type: bug | Status: new Priority: high

Re: [GHC] #7471: Documentation bug: hs_init is incorrectly called in the example

2012-12-07 Thread GHC
#7471: Documentation bug: hs_init is incorrectly called in the example +--- Reporter: dsign | Owner: simonmar Type: bug| Status: closed Priority:

Re: [GHC] #7478: setSessionDynFlags does not always work

2012-12-07 Thread GHC
#7478: setSessionDynFlags does not always work ---+ Reporter: edsko | Owner: simonmar Type: bug | Status: closed Priority: normal|

Re: [GHC] #7445: template-haskell : need a good error message instead of just an unexplained panic

2012-12-07 Thread GHC
#7445: template-haskell : need a good error message instead of just an unexplained panic -+-- Reporter: erikd | Owner: Type: bug | Status: closed

RE: Which of the following PrimTyCons have a pointer-sized representations

2012-12-07 Thread Simon Peyton-Jones
You can use TyCon.tyConPrimRep, followed by primRepSizeW Simon | -Original Message- | From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell- | users-boun...@haskell.org] On Behalf Of Johan Tibell | Sent: 06 December 2012 23:47 | To: glasgow-haskell-users | Subject:

Re: Emitting constants to the .data section from the NatM monad

2012-12-07 Thread Simon Marlow
On 06/12/12 22:11, Johan Tibell wrote: On Thu, Dec 6, 2012 at 1:34 PM, Simon Marlow marlo...@gmail.com wrote: So are you going to add the two missing MachOps, MO_UF_Conv MO_FU_Conv? I'm trying to add those. I'm now thinking that I will use C calls (which is still much faster than going via

Re: Which of the following PrimTyCons have a pointer-sized representations

2012-12-07 Thread Johan Tibell
On Fri, Dec 7, 2012 at 3:36 AM, Simon Peyton-Jones simo...@microsoft.com wrote: You can use TyCon.tyConPrimRep, followed by primRepSizeW Looking at primRepSizeW I see that the only PrimRep that is bigger than one word is Doubles, Int64s, and Word64s on 32-bit platforms. Manuel (I think wisely)

GHCI segfault on Double math

2012-12-07 Thread Ron Alford
I'm trying to see if this is reproducible, or it's just my machine. I'm on a MacBook Pro (15-inch, Mid 2012), OS X 10.8.2, Haskell Platform 2012.4.0.0 (32 bit): $ ghci GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package

Re: GHCI segfault on Double math

2012-12-07 Thread Ian Lynagh
Hi Ron, On Fri, Dec 07, 2012 at 03:33:01PM -0500, Ron Alford wrote: I'm trying to see if this is reproducible, or it's just my machine. This sounds like http://hackage.haskell.org/trac/ghc/ticket/7043 Thanks Ian ___ Glasgow-haskell-users

Re: proposal: separate lists for ghc-cvs commits and ghc-dev chatter

2012-12-07 Thread Ian Lynagh
On Thu, Dec 06, 2012 at 09:15:06PM +, Simon Marlow wrote: On 06/12/12 17:04, Ian Lynagh wrote: It's true that we do give e-mailing it as a (less preferred) way for users to submit a bug on http://hackage.haskell.org/trac/ghc/wiki/ReportABug but I wonder if we shouldn't change that.

Re: Which of the following PrimTyCons have a pointer-sized representations

2012-12-07 Thread Johan Tibell
On Fri, Dec 7, 2012 at 10:48 AM, Johan Tibell johan.tib...@gmail.com wrote: On Fri, Dec 7, 2012 at 3:36 AM, Simon Peyton-Jones simo...@microsoft.com wrote: You can use TyCon.tyConPrimRep, followed by primRepSizeW Looking at primRepSizeW I see that the only PrimRep that is bigger than one

[Haskell] ANNNOUNCE: lens 3.7 released

2012-12-07 Thread Edward Kmett
Greetings! I am happy to announce the release of version 3.7 of the lens package, which provides Lenses, Folds, and Traversals for working with arbitrary data types. In its simplest form, a lens is a getter/setter pair, that can be composed and reasoned about with common sense laws that you can

[Haskell] CfP: Conf. Rewriting Techniques and Applications RTA 2013 -- deadline February 1

2012-12-07 Thread Johannes Waldmann
RTA http://rta2013.few.vu.nl/cfp.html Deadline: February 1, Conference: June 24-26, Eindhoven NL Dear all, instead of copying the complete CfP, I'd like to specifically address the Haskell community: There are strong connections between (functional) programming and rewriting. For example, the

[Haskell-cafe] yaml and aeson Was: Growing Haskell Platform

2012-12-07 Thread Michael Snoyman
On Fri, Dec 7, 2012 at 10:54 AM, Roman Cheplyaka r...@ro-che.info wrote: * Michael Snoyman mich...@snoyman.com [2012-12-07 09:52:07+0200] Let me bring up one other package: yaml (written by me). I think it's a pretty good fit for the standard YAML packaging library, since it simply reuses

Re: [Haskell-cafe] Is it possible to have constant-space JSON decoding?

2012-12-07 Thread Malcolm Wallace
See also the incremental XML parser in HaXml, described in Partial parsing: combining choice with commitment, IFL 2006. It has constant space usage (for some patterns of usage), even with extremely large inputs.

Re: [Haskell-cafe] yaml and aeson Was: Growing Haskell Platform

2012-12-07 Thread Roman Cheplyaka
* Michael Snoyman mich...@snoyman.com [2012-12-07 11:51:40+0200] As for toYAML/toJSON, I guess most of the time they are different anyway — otherwise it's defeating the purpose of YAML to be more human-readable than JSON. I don't think that's true in practice. Most of the readability of

Re: [Haskell-cafe] yaml and aeson Was: Growing Haskell Platform

2012-12-07 Thread Michael Snoyman
On Fri, Dec 7, 2012 at 12:00 PM, Roman Cheplyaka r...@ro-che.info wrote: * Michael Snoyman mich...@snoyman.com [2012-12-07 11:51:40+0200] As for toYAML/toJSON, I guess most of the time they are different anyway — otherwise it's defeating the purpose of YAML to be more human-readable

Re: [Haskell-cafe] Maintainer of fixpoint

2012-12-07 Thread Petr P
Thanks Brent, that's just what I needed. I'm switching to recursion-schemes immediately. Best regards, Petr 2012/12/6 Brent Yorgey byor...@seas.upenn.edu On Wed, Dec 05, 2012 at 08:22:32PM +0100, Petr P wrote: Dear Haskellers, I've made some minor improvements of fixpoint package

Re: [Haskell-cafe] Is it possible to have constant-space JSON decoding?

2012-12-07 Thread Albert Y. C. Lai
On 12-12-05 12:48 AM, Jason Dagit wrote: I thought it was possible to get around this with lazy patterns such Wadler's force function [1]? (untested code) force y = let Just x = y in Just x lazyDecode :: FromJSON a = ByteString - Maybe a lazyDecode = force . decode This says, the type

Re: [Haskell-cafe] Understanding GHC's instance inference.

2012-12-07 Thread Takayuki Muranushi
Thank you, Adam, for I didn't know about paczesiowa's article. That will be useful for me. What I was trying to make is a zipWithN that takes the zipper function as its last argument, not the first. This is because in my applications the zipper functions tend to be complicated lambdas, as

Re: [Haskell-cafe] Best approach to avoid dependency hells

2012-12-07 Thread Albert Y. C. Lai
On 12-12-05 01:52 PM, Ivan Perez wrote: I've spent the last couple of days fighting my way around a dependency hell with my own libraries and packages. If I install them package by package (by hand), I'm very likely to hit one of these conflicts that I'm talking about. A simple example of

Re: [arch-haskell] haskell-safe in [haskell-extra] relies on ghc-7.4.2.1 ?

2012-12-07 Thread Magnus Therning
On Fri, Dec 7, 2012 at 11:37 AM, Pierre Radermecker pradermec...@yahoo.ca wrote: Hi, [haskell] seems to work fine with ghc 7.6.1 (the current ghc version in Arch repos) but my first try with [haskell-extra] has choked: sudo pacman -S haskell-safe resolving dependencies... warning: cannot

Re: [arch-haskell] haskell-safe in [haskell-extra] relies on ghc-7.4.2.1 ?

2012-12-07 Thread Ramana Kumar
I updated the wiki to not recommend [haskell-extra], but instead talk about [haskell-web]. https://wiki.archlinux.org/index.php/Haskell_package_guidelines On Fri, Dec 7, 2012 at 11:16 PM, Magnus Therning mag...@therning.orgwrote: On Fri, Dec 7, 2012 at 11:37 AM, Pierre Radermecker