[Haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Kevin Jardine
https://plus.google.com/u/0/111705054912446689620/posts/DPdA2rUSQ6c Comments are welcome! Kevin ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Google Summer of Code 2012 Announced

2012-02-14 Thread Andrei Varanovich
Hi all, One question to more experienced GSoC'ers. I do understand that this is important to find mentors in advance. As soon as I think nowadays it is critical for the programming language ecosystem to handle BigData [1], have a proposal to implement HDFS [1] support for CloudHaskell [2] with

Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-14 Thread Kirill Zaborsky
I apologize, But does hackage.haskell.org being down for some hours already has something with the process of bringing up Hackage 2? Kind regards, Kirill Zaborsky P.S. Previous mail was rejected by maillist ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Google Summer of Code 2012 Announced

2012-02-14 Thread Heinrich Apfelmus
Andrei Varanovich wrote: One question to more experienced GSoC'ers. I do understand that this is important to find mentors in advance. As soon as I think nowadays it is critical for the programming language ecosystem to handle BigData [1], have a proposal to implement HDFS [1] support for

Re: [Haskell-cafe] Google Summer of Code 2012 Announced

2012-02-14 Thread Heinrich Apfelmus
Sergiu Ivanov wrote: Heinrich Apfelmus wrote: What's the time frame for project proposals? I have two ideas in my head that I think are unusually cool. To make a successful SOC project, they need a bit of preparation on my part, though, so I'm wondering how much time I have to implement a proof

[Haskell-cafe] How to increase performance using concurrency for sequential producer-consumer problem

2012-02-14 Thread John Lato
I would use bounded STM channels (from the stm-chans package) for communication; this would keep the producer from getting too far ahead of the converters. You'd need to tag items as they're produced (an Integer should be fine) also, and keep track of the tags. A TVar should suffice for that.

[Haskell-cafe] Ranges over Rational.

2012-02-14 Thread André Scholz
Hello, i stumbled upon the specification of the Enum instances of Floats, Doubles and Rationals. I understand the idea behind this specification for floating point numbers. But why was it also used for Rational? As Rationals are exact, it would make sense to use the same definition of ranges as

[Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Doug McIlroy
Kevin Jardine notices the full Haskell ecosystem ... is huge, and laments the absence of a sophisticated IDE to help manage it. Being a small-code type, I don't personally enjoy IDE's, which are undeniably useful in big projects, at the cost of a whole lot more to learn about programmering in

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Markus Läll
What about hoogle/hayoo and hackage? On Tue, Feb 14, 2012 at 5:13 PM, Doug McIlroy d...@cs.dartmouth.edu wrote: Kevin Jardine notices the full Haskell ecosystem ... is huge, and laments the absence of a sophisticated IDE to help manage it. Being a small-code type, I don't personally enjoy

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Antoine Latter
On Tue, Feb 14, 2012 at 9:13 AM, Doug McIlroy d...@cs.dartmouth.edu wrote: Nevertheless, I share Jardine's concern about the central problem. It is hard to find one's way in this ecosystem.  It needn't be, as Java illustrates.  To my mind Java's great contribution to the world is its library

Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-14 Thread Ben Gamari
On Tue, 14 Feb 2012 02:59:27 -0800 (PST), Kirill Zaborsky qri...@gmail.com wrote: I apologize, But does hackage.haskell.org being down for some hours already has something with the process of bringing up Hackage 2? Nope, it will be some time before we are in a position to touch

Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-14 Thread Ben Gamari
On Tue, 14 Feb 2012 02:06:16 +, Duncan Coutts duncan.cou...@googlemail.com wrote: On 14 February 2012 01:53, Duncan Coutts duncan.cou...@googlemail.com wrote: Hi Ben, snip Ah, here's the link to my last go at getting people to self-organise.

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Bardur Arantsson
On 02/14/2012 04:13 PM, Doug McIlroy wrote: Nevertheless, I share Jardine's concern about the central problem. It is hard to find one's way in this ecosystem. It needn't be, as Java illustrates. As a professional Java developer this sounds really strange, but maybe I just haven't found it

Re: [Haskell-cafe] Google Summer of Code 2012 Announced

2012-02-14 Thread Heinrich Apfelmus
Johan Tibell wrote: Hi all, Here's a heads-up that this year's Google of Code is kicking off. My experience from the last few years is that we can maximize the output we get from GSoC by being proactive and writing down semi-detailed explanations of what kind of projects we'd like to see,

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Alejandro Serrano Mena
Hi, 2012/2/14 Doug McIlroy d...@cs.dartmouth.edu Kevin Jardine notices the full Haskell ecosystem ... is huge, and laments the absence of a sophisticated IDE to help manage it. Being a small-code type, I don't personally enjoy IDE's, which are undeniably useful in big projects, at the cost

Re: [Haskell-cafe] Subject: A universal data store interface

2012-02-14 Thread Deian Stefan
On Mon, Feb 13, 2012 at 11:52, Greg Weber g...@gregweber.info wrote: That being said, I would like to have a Template Haskell interface instead of just a QQ interface. The reason why we haven't bothered with doing that ourselves is because the record name-spacing issue makes the current QQ

Re: [Haskell-cafe] Subject: A universal data store interface

2012-02-14 Thread Greg Weber
Hi Deian, Thanks for bringing this to our attention - this is a neat project! It actually looks *exactly* like persistent - I can't actually discern a meaningful difference, although likely your internals are slightly simpler if you only support MongoDB. If your goals are to support multiple

Re: [Haskell-cafe] Subject: A universal data store interface

2012-02-14 Thread Deian Stefan
Hi Greg, Thanks for bringing this to our attention - this is a neat project! It actually looks *exactly* like persistent - I can't actually discern a meaningful difference, although likely your internals are slightly simpler if you only support MongoDB. If your goals are to support multiple

[Haskell-cafe] GHC -WAll, -fwarn-unused-do-bind and Cabal

2012-02-14 Thread JP Moresmau
I'm confused: I'm using GHC 7.0.2 and Cabal 1.10.1.0 with cabal-install 0.10.2. I use -Wall in my Cabal file. If I build a Haskell file with unused do binds, via the GHC API I get no warning, which is normal, since the doc states: The warnings that are not enabled by -Wall are ...,

Re: [Haskell-cafe] network-2.3.0.10 compiled for ghc 7.4.1 windows

2012-02-14 Thread Alberto G. Corona
I put Network Version 2.3.0.10 compiled for ghc.7.4.1 Windows (this time without runtime errors) in the address refereed above. Just in case someone want to avoid cabal configure-build and just want to cabal install. 2012/2/13 Johan Tibell johan.tib...@gmail.com: Resending as the last message

[Haskell-cafe] Building a Haskell project which depends on an old version of base

2012-02-14 Thread Steven J. Murdoch
I'm trying to build a Haskell project[1] which appears to be dependent on an function in a old version of base (GHC.Handle.fillReadBuffer). I've downgraded to Haskell platform 2010.2.0.0 which comes with GHC 6.12.3 (installed by homebrew on MacOS X 10.6.8), and ghc-pkg appears to indicate the

[Haskell-cafe] Behavior of -threaded in GHC 7.4.1?

2012-02-14 Thread Michael Craig
Hi all, I'm debugging an issue with multithreading and FFI calls in 7.4.1. The code in question is the zeromq3-haskell library, which provides an FFI binding to ZeroMQ. A little background: ZeroMQ gives the programmer contexts and sockets. Contexts are thread-safe and generally used

[Haskell-cafe] Language Shootout

2012-02-14 Thread Louis Wasserman
Out of curiosity, do we know why the Language Shootout has upgradedhttp://shootout.alioth.debian.org/u64q/program.php?test=spectralnormlang=ghcid=4to GHC 7.4.1, but still isn't using -fllvm for e.g. the spectral-norm benchmark? (It results in a nonnegligible speedup on my machine.) Louis

Re: [Haskell-cafe] Building a Haskell project which depends on an old version of base

2012-02-14 Thread Rogan Creswick
On Tue, Feb 14, 2012 at 12:14 PM, Steven J. Murdoch steven.murd...@cl.cam.ac.uk wrote: $ ghc-pkg list base /Users/ghc6/homebrew/Cellar/ghc/6.12.3/lib/ghc/package.conf.d   base-3.0.3.2   base-4.2.0.2 I'm a bit fuzzy on the details when it comes to the core packages that are distributed with

Re: [Haskell-cafe] Building a Haskell project which depends on an old version of base

2012-02-14 Thread Antoine Latter
On Tue, Feb 14, 2012 at 3:53 PM, Rogan Creswick cresw...@gmail.com wrote: On Tue, Feb 14, 2012 at 12:14 PM, Steven J. Murdoch steven.murd...@cl.cam.ac.uk wrote: $ ghc-pkg list base /Users/ghc6/homebrew/Cellar/ghc/6.12.3/lib/ghc/package.conf.d   base-3.0.3.2   base-4.2.0.2 I'm a bit fuzzy

Re: [Haskell-cafe] Hackage 2 maintainership

2012-02-14 Thread Conrad Parker
On 15 February 2012 00:16, Ben Gamari bgamari.f...@gmail.com wrote: On Tue, 14 Feb 2012 02:06:16 +, Duncan Coutts duncan.cou...@googlemail.com wrote: On 14 February 2012 01:53, Duncan Coutts duncan.cou...@googlemail.com wrote: Hi Ben, snip Ah, here's the link to my last go at

[Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Doug McIlroy
Markus: What about hoogle/hayoo and hackage? Antoine: Do you have any links to examples that we should imitate? Hackage is notionally similar to the Java API documentation at http://www.oracle.com/technetwork/java/javase/documentation/ But Hackage Documentation pages typically only give syntax,

[Haskell-cafe] Monadic bind fixity: do vs ()

2012-02-14 Thread Michael Baikov
Most docs ([1], [2]) about do-notation syntactic sugar tends to describe following expressions as equivalent: do { a; b; c } and a b c, but they are not: first one gets de-sugared into a (b c), second one is equivalent to (a b) c, because () is declared using infixl. This should not be

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Aristid Breitkreuz
In the source file, the Haddock documentation is there, no idea why it doesn't show up. Am 15.02.2012 04:00 schrieb Doug McIlroy d...@cs.dartmouth.edu: Markus: What about hoogle/hayoo and hackage? Antoine: Do you have any links to examples that we should imitate? Hackage is notionally

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Ivan Lazar Miljenovic
On 15 February 2012 17:55, Aristid Breitkreuz arist...@googlemail.com wrote: In the source file, the Haddock documentation is there, no idea why it doesn't show up. Looks like it's an issue with getting the Haddock markup from another package, though I've usually had this work before... e.g.