Re: [GHC] #4359: Implement lambda-case/lambda-if

2012-07-06 Thread GHC
#4359: Implement lambda-case/lambda-if ---+ Reporter: batterseapower| Owner: Type: feature request | Status: new Priority: normal| Milestone:

[GHC] #7053: Panic with PolyKinds + GADTs

2012-07-06 Thread GHC
#7053: Panic with PolyKinds + GADTs --+- Reporter: dreixel | Owner: Type: bug | Status: new Priority: normal| Component:

Re: [GHC] #5909: Segfault with multi-threaded retainer profiling

2012-07-06 Thread GHC
#5909: Segfault with multi-threaded retainer profiling ---+ Reporter: akio| Owner: simonmar Type: bug | Status: new Priority: high|

Re: [GHC] #7048: Add the ability to statically define a `FunPtr` to a haskell function

2012-07-06 Thread GHC
#7048: Add the ability to statically define a `FunPtr` to a haskell function -+-- Reporter: pcapriotti| Owner: Type: feature request | Status: new

Re: [GHC] #7051: Runtime system crash (OS X intel -N greater than 4)

2012-07-06 Thread GHC
#7051: Runtime system crash (OS X intel -N greater than 4) ---+ Reporter: ndaniels| Owner: Type: bug | Status: infoneeded Priority: normal |

Re: [GHC] #7052: Numeric types’ Read instances use exponential CPU/memory

2012-07-06 Thread GHC
#7052: Numeric types’ Read instances use exponential CPU/memory --+- Reporter: andersk | Owner: Type: bug | Status: closed

Re: [GHC] #4359: Implement lambda-case/lambda-if

2012-07-06 Thread GHC
#4359: Implement lambda-case/lambda-if ---+ Reporter: batterseapower| Owner: Type: feature request | Status: new Priority: normal| Milestone:

Re: [GHC] #7052: Numeric types’ Read instances use exponential CPU/memory

2012-07-06 Thread GHC
#7052: Numeric types’ Read instances use exponential CPU/memory --+- Reporter: andersk | Owner: Type: bug | Status: closed

Re: [GHC] #7052: Numeric types’ Read instances use exponential CPU/memory

2012-07-06 Thread GHC
#7052: Numeric types’ Read instances use exponential CPU/memory --+- Reporter: andersk | Owner: Type: bug | Status: new

Re: [GHC] #7052: Numeric types’ Read instances use exponential CPU/memory

2012-07-06 Thread GHC
#7052: Numeric types’ Read instances use exponential CPU/memory --+- Reporter: andersk | Owner: Type: bug | Status: new

Re: [GHC] #7052: Numeric types’ Read instances use exponential CPU/memory

2012-07-06 Thread GHC
#7052: Numeric types’ Read instances use exponential CPU/memory --+- Reporter: andersk | Owner: Type: bug | Status: closed

Re: [GHC] #4862: Enable usage of gold linker with GHC

2012-07-06 Thread GHC
#4862: Enable usage of gold linker with GHC --+- Reporter: ajd | Owner: igloo Type: feature request | Status: new Priority: normal |

Re: [GHC] #6167: Compile stalls with pause returning ERESTARTNOHAND

2012-07-06 Thread GHC
#6167: Compile stalls with pause returning ERESTARTNOHAND -+-- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #6156: Optimiser bug on linux-powerpc

2012-07-06 Thread GHC
#6156: Optimiser bug on linux-powerpc --+- Reporter: erikd| Owner: pcapriotti Type: bug | Status: new Priority: normal

Re: [GHC] #6156: Optimiser bug on linux-powerpc

2012-07-06 Thread GHC
#6156: Optimiser bug on linux-powerpc --+- Reporter: erikd| Owner: pcapriotti Type: bug | Status: new Priority: normal

Re: [GHC] #5289: Can't use ghci with a library linked against libstdc++

2012-07-06 Thread GHC
#5289: Can't use ghci with a library linked against libstdc++ ---+ Reporter: bos | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #1658: CSE changes semantics

2012-07-06 Thread GHC
#1658: CSE changes semantics ---+ Reporter: guest | Owner: igloo Type: bug | Status: closed Priority: normal| Milestone:

Re: [GHC] #7014: RULES for bitwise logic and shift primops

2012-07-06 Thread GHC
#7014: RULES for bitwise logic and shift primops -+-- Reporter: akio | Owner: pcapriotti Type: feature request | Status: patch Priority: normal|

Re: [GHC] #7040: ghci segfault on OS X X86_64 with foreign global data

2012-07-06 Thread GHC
#7040: ghci segfault on OS X X86_64 with foreign global data --+- Reporter: luite | Owner: Type: bug | Status: new Priority: normal|

Re: [GHC] #7040: ghci segfault on OS X X86_64 with foreign global data

2012-07-06 Thread GHC
#7040: ghci segfault on OS X X86_64 with foreign global data --+- Reporter: luite | Owner: Type: bug | Status: new Priority: normal|

[GHC] #7054: Compile failure on non x86/x86-64

2012-07-06 Thread GHC
#7054: Compile failure on non x86/x86-64 -+-- Reporter: erikd| Owner: Type: bug | Status: new Priority: normal |

Re: [GHC] #6167: Compile stalls with pause returning ERESTARTNOHAND

2012-07-06 Thread GHC
#6167: Compile stalls with pause returning ERESTARTNOHAND -+-- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal

Re: [GHC] #6156: Optimiser bug on linux-powerpc

2012-07-06 Thread GHC
#6156: Optimiser bug on linux-powerpc --+- Reporter: erikd| Owner: pcapriotti Type: bug | Status: new Priority: normal

Re: [GHC] #7040: linker failures with foreign global data (was: ghci segfault on OS X X86_64 with foreign global data)

2012-07-06 Thread GHC
#7040: linker failures with foreign global data --+- Reporter: luite | Owner: Type: bug | Status: new Priority: normal|

[GHC] #7055: GHCi loadArchive libiconv.a:failed Unknown PEi386 section name `.drectve'

2012-07-06 Thread GHC
#7055: GHCi loadArchive libiconv.a:failed Unknown PEi386 section name `.drectve' +--- Reporter: songpp | Owner: Type: bug | Status: new

[GHC] #7056: GHCi loadArchive libiconv.a:failed Unknown PEi386 section name `.drectve'

2012-07-06 Thread GHC
#7056: GHCi loadArchive libiconv.a:failed Unknown PEi386 section name `.drectve' +--- Reporter: songpp | Owner: Type: bug | Status: new

Re: [GHC] #7055: GHCi loadArchive libiconv.a:failed Unknown PEi386 section name `.drectve'

2012-07-06 Thread GHC
#7055: GHCi loadArchive libiconv.a:failed Unknown PEi386 section name `.drectve' ---+ Reporter: songpp |Owner: Type: bug | Status: closed

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Mikhail Vorozhtsov
On 07/06/2012 05:47 AM, Donn Cave wrote: The `multi-clause lambda' seems more elegant, if the syntactical problems could be worked out. I mean, unnamed functions are thus just like named functions, something that you'd probably think to try just as soon as you needed the feature. I don't

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Mikhail Vorozhtsov
On 07/05/2012 10:22 PM, wagne...@seas.upenn.edu wrote: Quoting Mikhail Vorozhtsov mikhail.vorozht...@gmail.com: After 21 months of occasional arguing the lambda-case proposal(s) is in danger of being buried under its own trac ticket comments. We need fresh blood to finally reach an agreement

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Edward Kmett
Oh, neat. I guess it does. :) I'll hack that into my grammar when I get into work tomorrow. My main point with that observation is it cleanly allows for multiple argument \of without breaking the intuition you get from how of already works/looks or requiring you to refactor subsequent lines,

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Mikhail Vorozhtsov
On 07/06/2012 02:31 AM, Tyson Whitehead wrote: On July 5, 2012 10:42:53 Mikhail Vorozhtsov wrote: After 21 months of occasional arguing the lambda-case proposal(s) is in danger of being buried under its own trac ticket comments. We need fresh blood to finally reach an agreement on the syntax.

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Mikhail Vorozhtsov
On 07/05/2012 09:42 PM, Mikhail Vorozhtsov wrote: Hi. After 21 months of occasional arguing the lambda-case proposal(s) is in danger of being buried under its own trac ticket comments. We need fresh blood to finally reach an agreement on the syntax. Read the wiki page[1], take a look at the

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Edward Kmett
Twan, The 0-ary version you proposed actually works even nicer with \of. foo'' = case () of () | quux - ... | quaffle - ... | otherwise - ... Starting from the above legal haskell multi-way if, we can, switch to foo' = case of | quux - ... | quaffle - ... | otherwise - ...

Re: [Haskell-cafe] Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Herbert Valerio Riedel
Christopher Done chrisd...@gmail.com writes: P.S. \if then … else …? btw, http://www.haskell.org/haskellwiki/If-then-else ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Simon Marlow
On 05/07/2012 20:31, Tyson Whitehead wrote: On July 5, 2012 10:42:53 Mikhail Vorozhtsov wrote: After 21 months of occasional arguing the lambda-case proposal(s) is in danger of being buried under its own trac ticket comments. We need fresh blood to finally reach an agreement on the syntax. Read

RE: More infinite simplifier bugs?

2012-07-06 Thread Simon Peyton-Jones
try with -ddump-rule-firings -dverbose-core2core -ddump-occur-anal -ddump-inlinings. You'll get a lot of output ,but you may either see (a) output stops but computer gets hot, (b) output goes on and on. use HEAD if you can Simon | -Original Message- | From:

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Tyson Whitehead
On July 6, 2012 05:25:15 Simon Marlow wrote: Why not just let enclosed scopes be less indented than their outer ones? Let me be entirely clear about what I was thinking about. The third case for the layout mapping in Section 9.3 of the report is L ({n}:ts) (m:ms) = { : (L ts

Re: [Haskell-cafe] Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Strake
On 05/07/2012, Mikhail Vorozhtsov mikhail.vorozht...@gmail.com wrote: Hi. After 21 months of occasional arguing the lambda-case proposal(s) is in danger of being buried under its own trac ticket comments. We need fresh blood to finally reach an agreement on the syntax. Read the wiki page[1],

Re: [Haskell-cafe] Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Chris Smith
Whoops, my earlier answer forgot to copy mailing lists... I would love to see \of, but I really don't think this is important enough to make case sometimes introduce layout and other times not. If it's going to obfuscate the lexical syntax like that, I'd rather just stick with \x-case x of. On

Re: More infinite simplifier bugs?

2012-07-06 Thread Ron Alford
On Fri, Jul 6, 2012 at 7:18 AM, Simon Peyton-Jones simo...@microsoft.com wrote: try with -ddump-rule-firings -dverbose-core2core -ddump-occur-anal -ddump-inlinings. You'll get a lot of output ,but you may either see (a) output stops but computer gets hot, (b) output goes on and on. use

Imported foreign functions should be strict

2012-07-06 Thread Favonia
Hi all, Recently I am tuning one of our incomplete libraries that uses FFI. After dumping the interface file I realized strictness/demand analysis failed for imported foreign functions---that is, they are not inferred to be strict in their arguments. In my naive understanding all imported foreign

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Tyson Whitehead
On July 6, 2012 11:49:23 Tyson Whitehead wrote: Currently it depends on the depth of this new level of indentation relative to all the groupings started on that line. I think most people would expect it to just apply to the last grouping though. That is where { f x = do { stmt1 stmt2

[Haskell] ANNOUNCE: lens-family 0.0.0

2012-07-06 Thread roconnor
I'm pleased to announce the first release of lens-family-core and lens-family. This package provide first class(†) functional references. In addition to the usual operations of getting, setting and composition, plus integration with the state monad, lens families provide some unique features:

[Haskell] ANNOUNCE: husk-scheme - a Scheme extension language for Haskell

2012-07-06 Thread Justin Ethier
I would like to announce the release of husk-scheme 3.5.6, a Scheme extension language and stand-alone interpreter/compiler that I have been developing. husk implements most of the Scheme R5RS standard including advanced features such as continuations, hygienic macros, and a full numeric tower.

Re: [Haskell-cafe] translation between two flavors of lexically-scoped type variables

2012-07-06 Thread oleg
Kangyuan Niu wrote: Aren't both Haskell and SML translatable into System F, from which type-lambda is directly taken? The fact that both Haskell and SML are translatable to System F does not imply that Haskell and SML are just as expressive as System F. Although SML (and now OCaml) does have

Re: [Haskell-cafe] Plain lambda inside banana brackets in the arrow notation

2012-07-06 Thread Ertugrul Söylemez
Tsuyoshi Ito tsuyoshi.ito.2...@gmail.com wrote: How can I use combinators like repeat, which takes a plain function as an argument, in the arrow notation in a more readable way? Or am I trying to do an impossible thing? To answer your question: Arrow notation has no support for what you

Re: [Haskell-cafe] [***SPAM***] Parallel Haskell Digest 11

2012-07-06 Thread Sean Leather
Hi Eric (et Café), On Thu, Jul 5, 2012 at 5:13 PM, Eric Kow wrote: *[Everybody should write everything in Go?][m7] (28 May) Ryan Hayes posted a small [snippet of Go][go-snippet] showing how friendly he found it for writing concurrent programs, “No pthread... not stupid

Re: [Haskell-cafe] [***SPAM***] Parallel Haskell Digest 11

2012-07-06 Thread Eric Kow
Ooh, nice catch. Fixed on the HTML version. http://www.well-typed.com/blog/67 Subject line makes me wonder how often the digests get caught in people's spam filters Oh and while I'm at it, I'll take the opportunity to plug the PH Digest survey (I'll be annoying and make a reminder post just

Re: [Haskell-cafe] Plain lambda inside banana brackets in the arrow notation

2012-07-06 Thread Tsuyoshi Ito
Dear Ertugrul, Thank you for your input. To answer your question: Arrow notation has no support for what you want, so if you stick with it you will have to write the inner proc explicitly. Oh. I was afraid of that. However: The code may look much nicer, if you use applicative style for

Re: [Haskell-cafe] [***SPAM***] Parallel Haskell Digest 11

2012-07-06 Thread Sean Leather
On Fri, Jul 6, 2012 at 4:03 PM, Eric Kow wrote: Subject line makes me wonder how often the digests get caught in people's spam filters Oops! Should have removed that part before replying. I think it comes from the university's mail server, and it's rather obnoxious. I tend to ignore it.

[Haskell-cafe] combining predicates, noob question

2012-07-06 Thread Sebastián Krynski
As I was using predicates (a - bool) , it appeared the need for combining them with a boolean operator (bool - bool - bool) in order to get a new predicate combining the previous two. So I wrote my function combinerPred (see code below). While I think this is JUST ok, i'm feeling a monad in the

Re: [Haskell-cafe] Posting jobs on Haskellers.com

2012-07-06 Thread Bartosz Milewski
The link to the CUFP job posting is working now. (After I posted the previous message I found in my inbox an email telling me that the post will be live after it's been approved -- it is now). I was also able to post it on Haskellers ( http://www.haskellers.com/jobs/14 ). Posting on CUFP was

[Haskell-cafe] ANNOUNCE: lens-family 0.0.0

2012-07-06 Thread roconnor
I'm pleased to announce the first release of lens-family-core and lens-family. This package provide first class(†) functional references. In addition to the usual operations of getting, setting and composition, plus integration with the state monad, lens families provide some unique features:

Re: [Haskell-cafe] [Haskell] ANNOUNCE: lens-family 0.0.0

2012-07-06 Thread Felipe Almeida Lessa
Hackage links for anyone as lazy as myself =). http://hackage.haskell.org/package/lens-family-core http://hackage.haskell.org/package/lens-family -- Felipe. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] combining predicates, noob question

2012-07-06 Thread Felipe Almeida Lessa
On Fri, Jul 6, 2012 at 2:11 PM, Sebastián Krynski skryn...@gmail.com wrote: As I was using predicates (a - bool) , it appeared the need for combining them with a boolean operator (bool - bool - bool) in order to get a new predicate combining the previous two. So I wrote my function

Re: [Haskell-cafe] combining predicates, noob question

2012-07-06 Thread Brent Yorgey
On Fri, Jul 06, 2012 at 03:17:54PM -0300, Felipe Almeida Lessa wrote: On Fri, Jul 6, 2012 at 2:11 PM, Sebastián Krynski skryn...@gmail.com wrote: As I was using predicates (a - bool) , it appeared the need for combining them with a boolean operator (bool - bool - bool) in order to get a new

[Haskell-cafe] vector, alignment and SIMD through FFI

2012-07-06 Thread Nicolas Trangez
Hello Cafe, Recently I've been playing with the implementation of an algorithm, for which we already have highly-optimized implementations available (in plain C/C++ as well as OCaml with calls to C through FFI). The algorithm works on buffers/arrays/vectors/whatever you want to call it, which

[Haskell-cafe] cabal equivalent to make -k?

2012-07-06 Thread Omari Norman
When using make (or, at least, GNU make) the -k option keeps going as far as possible after a compilation error. It's handy during developing--for instance, I know half of my code is busted, but I just want to see if this file compiles. Is there a similar way to do this with cabal? Thanks. --Omari

Re: [Haskell-cafe] vector, alignment and SIMD through FFI

2012-07-06 Thread Thomas DuBuisson
On Fri, Jul 6, 2012 at 1:06 PM, Nicolas Trangez nico...@incubaid.com wrote: -- This fails: -- Ambiguous type variable `a0' in the constraint: -- (Storable a0) arising from a use of `sizeOf' Here you can either tie a type knot using proxy types or you can use the scoped type

Re: [Haskell-cafe] vector, alignment and SIMD through FFI

2012-07-06 Thread Bryan O'Sullivan
On Fri, Jul 6, 2012 at 1:43 PM, Thomas DuBuisson thomas.dubuis...@gmail.com wrote: The block of memory is sufficiently aligned for any of the basic foreign types that fits into a memory block of the allocated size. That's not the same thing as a guarantee of 16-byte alignment, note, as none

Re: [Haskell-cafe] Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Strake
On 05/07/2012, Mikhail Vorozhtsov mikhail.vorozht...@gmail.com wrote: Hi. After 21 months of occasional arguing the lambda-case proposal(s) is in danger of being buried under its own trac ticket comments. We need fresh blood to finally reach an agreement on the syntax. Read the wiki page[1],

Re: [Haskell-cafe] translation between two flavors of lexically-scoped type variables

2012-07-06 Thread Kangyuan Niu
Thanks, I think I understand it now. Do you know why they switched over in GHC 6.6? -Kangyuan Niu On Fri, Jul 6, 2012 at 3:11 AM, o...@okmij.org wrote: Kangyuan Niu wrote: Aren't both Haskell and SML translatable into System F, from which type-lambda is directly taken? The fact that

Re: [Haskell-cafe] vector, alignment and SIMD through FFI

2012-07-06 Thread Nicolas Trangez
On Fri, 2012-07-06 at 13:43 -0700, Thomas DuBuisson wrote: On Fri, Jul 6, 2012 at 1:06 PM, Nicolas Trangez nico...@incubaid.com wrote: -- This fails: -- Ambiguous type variable `a0' in the constraint: -- (Storable a0) arising from a use of `sizeOf' Here you can either tie a

[Haskell-cafe] ANNOUNCE: lens-family-th 0.1.0.0

2012-07-06 Thread Dan Burton
Following the announcement of lens-family, I'm pleased to announce lens-family-th 0.1.0.0, a Template Haskell library supplying macros to generate lens-family lenses for fields of data types declared with record syntax. Be warned that currently, type signatures are *not* generated alongside the

Re: [Haskell-cafe] Call to arms: lambda-case is stuck and needs your help

2012-07-06 Thread Chris Smith
Whoops, my earlier answer forgot to copy mailing lists... I would love to see \of, but I really don't think this is important enough to make case sometimes introduce layout and other times not. If it's going to obfuscate the lexical syntax like that, I'd rather just stick with \x-case x of. On

[Haskell-cafe] ANNOUNCE: husk-scheme, release 3.5.6

2012-07-06 Thread Justin Ethier
I would like to announce the release of husk-scheme 3.5.6, a Scheme extension language and stand-alone interpreter/compiler that I have been developing. husk implements most of the Scheme R5RS standardhttp://www.schemers.org/Documents/Standards/R5RS/HTML/including advanced features such as

[Haskell-cafe] Parameterized constraints

2012-07-06 Thread Emil Axelsson
Hi! The `constraints` package provides ways to manipulate objects of kind `Constraint`. I need the same kind of manipulation, except that I need to work with objects of kind `* - Constraint`. I.e. I need parameterized constraints that can be applied to different types. BTW, is there a