[Haskell-cafe] ANN: syntactic-0.5

2011-07-28 Thread Emil Axelsson
I've just uploaded a new version of syntactic: http://hackage.haskell.org/package/syntactic The most important change is that I've added observable sharing based on StableNames. The implementation and interface are conceptually quite similar to Andy Gill's data-reify. The library offers

Re: [Haskell-cafe] XCode Dependency for HP on Mac

2011-07-28 Thread Tom Murphy
+1 - does anyone know the answer to this? On Jul 27, 2011 2:04 PM, Chris Smith cdsm...@gmail.com wrote: On Wed, 2011-07-27 at 07:20 -0400, Jack Henahan wrote: Bundling things with the HP is just going to bloat that download and confuse new users more (and my god, the dep-chasing... the number

Re: [Haskell-cafe] XCode Dependency for HP on Mac

2011-07-28 Thread Judah Jacobson
On Thu, Jul 28, 2011 at 7:59 AM, Tom Murphy amin...@gmail.com wrote: +1 - does anyone know the answer to this? On Jul 27, 2011 2:04 PM, Chris Smith cdsm...@gmail.com wrote: On Wed, 2011-07-27 at 07:20 -0400, Jack Henahan wrote: Bundling things with the HP is just going to bloat that download

[Haskell-cafe] Binding of an integer variable

2011-07-28 Thread Paul Reiners
I have a question about the following GHCi interaction: Prelude let x = 23 Prelude :show bindings x :: Integer = _ What is the meaning of the underscore in the third line? Why doesn't it say this, instead? x :: Integer = 23 ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Binding of an integer variable

2011-07-28 Thread Brandon Allbery
On Thu, Jul 28, 2011 at 14:43, Paul Reiners paul.rein...@gmail.com wrote: I have a question about the following GHCi interaction: Prelude let x = 23 Prelude :show bindings x :: Integer = _ What is the meaning of the underscore in the third line? Why doesn't it say this, instead? The

Re: [Haskell-cafe] Binding of an integer variable

2011-07-28 Thread David McBride
It hasn't been evaluated yet. It is just a thunk. let x = 23 :show bindings x :: Integer = _ x 23 :show bindings x :: Integer = 23 On Thu, Jul 28, 2011 at 2:43 PM, Paul Reiners paul.rein...@gmail.com wrote: I have a question about the following GHCi interaction: Prelude let x = 23 Prelude

Re: [Haskell-cafe] Binding of an integer variable

2011-07-28 Thread Henning Thielemann
On Thu, 28 Jul 2011, Paul Reiners wrote: I have a question about the following GHCi interaction: Prelude let x = 23 Prelude :show bindings x :: Integer = _ What is the meaning of the underscore in the third line?  Why doesn't it say this, instead? x :: Integer = 23 I have never used

Re: [Haskell-cafe] Binding of an integer variable

2011-07-28 Thread Brandon Allbery
On Thu, Jul 28, 2011 at 14:52, Henning Thielemann lemm...@henning-thielemann.de wrote: I have never used ':show bindings' before ... in other cases like let x='a' and let x=23::Int Since you gave explicit types, x is bound to strict values directly; it's only when no type is given that

Re: [Haskell-cafe] Binding of an integer variable

2011-07-28 Thread Daniel Fischer
On Thursday 28 July 2011, 20:43:30, Paul Reiners wrote: I have a question about the following GHCi interaction: Prelude let x = 23 Prelude :show bindings x :: Integer = _ What is the meaning of the underscore in the third line? Why doesn't it say this, instead? x :: Integer = 23

Re: [Haskell-cafe] Binding of an integer variable

2011-07-28 Thread Henning Thielemann
On Thu, 28 Jul 2011, Brandon Allbery wrote: On Thu, Jul 28, 2011 at 14:52, Henning Thielemann lemm...@henning-thielemann.de wrote: I have never used ':show bindings' before ... in other cases like   let x='a' and   let x=23::Int Since you gave explicit types, x is bound to strict values

Re: [Haskell-cafe] Binding of an integer variable

2011-07-28 Thread Albert Y. C. Lai
Another fun example: let c = 0 : c let b = 1 : 1 : c :show bindings length (take 5 c) :show bindings take 3 c :show bindings ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Contract opportunity with Biosimilarity LLC

2011-07-28 Thread Greg Meredith
Dear Haskellians, No desire to spam, but some folks on this list might find this of interest. Best wishes, --greg Biosimilarity LLC is looking for a the next Merlin! We need an artiste with a certain taste and technical instinct that have attracted them to next generation functional

Re: [Haskell-cafe] compare iteratee with python's yield

2011-07-28 Thread oleg
Your question is insightful. The posted answers are excellent. I merely wish to illustrate one, already made, point on a concrete example. The complete code is in the file http://okmij.org/ftp/Haskell/Iteratee/IterDemo.hs The file implements a series of progressively more complex