Re: [Haskell-cafe] Proposal to incorporate Haskell.org

2011-05-10 Thread Ganesh Sittampalam
On 11/05/2011 06:08, Antoine Latter wrote: > Which assets would move over to the SFC? The domain name? Any sort of > hosting could then be leased by the SFC to whomever is doing this now. > I'm a bit fuzzy here. Everything but the domain name, so that the Haskell community as a whole can retain t

Re: [Haskell-cafe] ANNOUNCE: iterIO-0.1 - iteratee-based IO with pipe operators

2011-05-10 Thread dm-list-haskell-cafe
At Mon, 9 May 2011 17:55:17 +0100, John Lato wrote: > > Felipe Almeida Lessa wrote: > > > So, in the enumerator vs. iterIO challenge, the only big differences I > see are: > > > >  a) iterIO has a different exception handling mechanism. > >  b) iterIO can have pure iter

Re: [Haskell-cafe] Modeling the performance of a non-trivial software app

2011-05-10 Thread C K Kashyap
> > Sometimes it is possible to write the corresponded model. Then the model > can be simulated to receive the performance characteristics. Much depends on > that how precise the model is. The keywords are Discrete Event Simulation > (DES) and Theory of Queue. It may require some maths. > > I wrote

Re: [Haskell-cafe] Proposal to incorporate Haskell.org

2011-05-10 Thread Antoine Latter
On Tue, May 10, 2011 at 5:44 PM, Don Stewart wrote: > Hello everyone. > > The haskell.org committee[1], in the interest of the long-term stability > of the open source Haskell community infrastructure, has decided to > incorporate haskell.org as a legal entity. This email outlines our > recommenda

Re: [Haskell-cafe] Modeling the performance of a non-trivial software app

2011-05-10 Thread David Sorokin
On 05/11/2011 07:55 AM, C K Kashyap wrote: Hi, I was wondering if it would be a good idea to model a software app's performance using Haskell. The idea is a little abstract in my mind right now. I'll try and illustrate it with an example - Let's say, I want to model a web app - to, model it, I

Re: [Haskell-cafe] Proposal to incorporate Haskell.org

2011-05-10 Thread Tom Murphy
> Q: Does this mean that my Haskell project must now be covered by a > copyleft licence such as GPL? > A: No, but Haskell projects using haskell.org resource should use an > Open Source licence > . > "Should" == must? Would this apply

[Haskell-cafe] Modeling the performance of a non-trivial software app

2011-05-10 Thread C K Kashyap
Hi, I was wondering if it would be a good idea to model a software app's performance using Haskell. The idea is a little abstract in my mind right now. I'll try and illustrate it with an example - Let's say, I want to model a web app - to, model it, I could think of the following entities - 1. One

[Haskell-cafe] Proposal to incorporate Haskell.org

2011-05-10 Thread Don Stewart
Hello everyone. The haskell.org committee[1], in the interest of the long-term stability of the open source Haskell community infrastructure, has decided to incorporate haskell.org as a legal entity. This email outlines our recommendation, and seeks input from the community on this decision. The

Re: [Haskell-cafe] parsing currency amounts with parsec

2011-05-10 Thread Roman Cheplyaka
* Eric Rasmussen [2011-05-09 15:07:57-0700] > Hi everyone, > > I am relatively new to Haskell and Parsec, and I couldn't find any articles > on parsing numbers in the following format: You could read hledger[1] sources for inspiration: it's written in Haskell and contains some (quite generic) cu

Re: [Haskell-cafe] Work on Collections Processing Arrows?

2011-05-10 Thread Adam Megacz
David Barbour writes: > I've a preliminary model, using Adam Megacz's Generalized Arrows, of > the form: Hey, neat. Actually, this sounds more like the generalized arrow version of arrowized FRP's "switch" and "par" (Section 2.6 of [1]). I'd been meaning to figure out the GArrow version of tho

[Haskell-cafe] Cairo package broken on Windows, or am I cooking it wrong?

2011-05-10 Thread Eugene Kirpichov
Hello, After a moderate struggle with getting gtk2hs to install on Windows, I tried to install Chart and got a linker message saying "_cairo_image_surface_get_data" was missing. After another struggle I figured that if I launch ghci -lcairo-2 then everything works fine. I tried patching cairo.cab

Re: [Haskell-cafe] Asynchronous Arrows need Type Specialization - Help!

2011-05-10 Thread Adam Megacz
Responding to a very stale thread here... Scott Turner <2hask...@pkturner.org> writes: > And indeed, a channel carrying a sum type corresponds much more > closely to a pair of channels than does a channel carrying pairs." I certainly agree with the slogan "a stream of pairs is not the same as a

Re: [Haskell-cafe] Crypto-api performance

2011-05-10 Thread Johan Brinch
On Tue, May 10, 2011 at 11:14, Jesper Louis Andersen wrote: > On Tue, May 10, 2011 at 09:47, Johan Brinch wrote: > >> Stuff like xor'ing two bytestrings or generating a block of >> incremental IV's (for CTR mode)? > > I don't particularly like the notion of XOR on a bytestring. The > bytestring i

Re: [Haskell-cafe] Those damned parentheses

2011-05-10 Thread Andrew Coppin
On 10/05/2011 08:30 AM, Yitzchak Gale wrote: I think the clearest way to write it is: f = putStrLn . (++ " - message received") . show . Main.id You're serious?? If I were to describe to someone in words what this function does, I would say something like: "Apply Main.id, turn it into a str

Re: [Haskell-cafe] Hackage build failure

2011-05-10 Thread Ross Paterson
On Tue, May 10, 2011 at 10:46:53AM +0200, Jonas Almström Duregård wrote: > Is there something wrong with the Hackage build system? > It fails to build BNFC-meta: http://hackage.haskell.org/package/BNFC-meta > > It complains about a missing dep even though it (the dependency) has > been built succe

Re: [Haskell-cafe] [Haskell] ANN: syntactic-0.1

2011-05-10 Thread Emil Axelsson
2011-05-10 15:31, Heinrich Apfelmus skrev: I'm also unhappy about some of the boilerplate. For instance, have a look at the function goE in compileAccumB (line 210), it's just a generic applicative traversal through the data type. Most likely, this boilerplate could be simplified using synt

Re: [Haskell-cafe] Crypto-api performance

2011-05-10 Thread Jesper Louis Andersen
On Tue, May 10, 2011 at 09:47, Johan Brinch wrote: > Stuff like xor'ing two bytestrings or generating a block of > incremental IV's (for CTR mode)? I don't particularly like the notion of XOR on a bytestring. The bytestring is not a number and it does not make much sense to bitwise xor such a st

[Haskell-cafe] Hackage build failure

2011-05-10 Thread Jonas Almström Duregård
Hi, Is there something wrong with the Hackage build system? It fails to build BNFC-meta: http://hackage.haskell.org/package/BNFC-meta It complains about a missing dep even though it (the dependency) has been built successfully. Also the dependencies are exactly the same as in the previous version

[Haskell-cafe] An update on ICFP'11 in Tokyo (September 18-24, 2011)

2011-05-10 Thread Wouter Swierstra
Given the fairly recent severe earthquake and tsunami in Japan, you may wonder how this affects the preparations for ICFP'11 in Tokyo. Luckily, Tokyo was significantly less affected by these saddening events than the regions further north. In fact, the situation in Tokyo is almost back to normal,

Re: [Haskell-cafe] Those damned parentheses

2011-05-10 Thread Yitzchak Gale
Andrew Butterfield wrote: >> Why not indeed ? Roel van Dijk wrote: > import Control.Category ( (>>>) ) > f = Main.id >>> show >>> (++ " - message received") >>> putStrLn Indeed, I agree. I sometimes do that, too, when I want to emphasize the idea of "applying tools one after the other". But most

Re: [Haskell-cafe] Those damned parentheses

2011-05-10 Thread Yitzchak Gale
Andrew Butterfield wrote: >> Why not indeed ? Roel van Dijk wrote: > import Control.Category ( (>>>) ) > f = Main.id >>> show >>> (++ " - message received") >>> putStrLn Indeed, I agree. I sometimes do that, too, when I want to emphasize the idea of "applying tools one after the other". But most

Re: [Haskell-cafe] Those damned parentheses

2011-05-10 Thread Roel van Dijk
On 10 May 2011 09:47, Andrew Butterfield wrote: > Why not indeed ? > (-->) = flip (.) > f = Main.id --> show --> (++ " = message received") --> putStrLn -- (>>>) :: Category cat => cat a b -> cat b c -> cat a c import Control.Category ( (>>>) ) f = Main.id >>> show >>> (++ " - message received")

Re: [Haskell-cafe] Crypto-api performance

2011-05-10 Thread Johan Brinch
On Tue, May 3, 2011 at 22:05, Johan Brinch wrote: > Does anyone have experience with the crypto-api package? > > It seems to define a nice common API for block ciphers, hash functions > and prng's. However, I get very low performance using it. > > I ran its benchmark on a NOP block cipher, where e

Re: [Haskell-cafe] Those damned parentheses

2011-05-10 Thread Andrew Butterfield
On 10 May 2011, at 08:30, Yitzchak Gale wrote: > > If I were to describe to someone in words what this > function does, I would say something like: "Apply Main.id, > turn it into a string, tack a message onto the end, and > print it." So why not write it that way in Haskell? Why not indeed ? (

Re: [Haskell-cafe] Those damned parentheses

2011-05-10 Thread Yitzchak Gale
Eitan Goldshtrom wrote: >> f p = putStrLn $ (show (Main.id p)) ++ " - message received" Brandon S Allbery KF8NH wrote: > f p = putStrLn $ (show $ Main.id p) ++ " = message received" wren ng thornton wrote: >    f p = putStrLn $ show (Main.id p) ++ " - message received" >    f p = putStrLn $ (sho

Re: [Haskell-cafe] Template Haskell reified type.

2011-05-10 Thread Serguey Zefirov
I turned out that it is in ghc 6.12. The same code in ghc 7.0.1 works just fine, Reification produces TupleT and ListT. I just rechecked it. I forgot that I use 6.12. Sorry about that. 2011/5/10 Simon Peyton-Jones : > Can you give a concrete example?  There is code in GHC that is supposed to >

Re: [Haskell-cafe] Template Haskell reified type.

2011-05-10 Thread Simon Peyton-Jones
Can you give a concrete example? There is code in GHC that is supposed to produce TupleT and ListT! Simon | -Original Message- | From: haskell-cafe-boun...@haskell.org [mailto:haskell-cafe-boun...@haskell.org] On | Behalf Of Serguey Zefirov | Sent: 09 May 2011 14:43 | To: haskell | Sub