Live data from Hacker News

The Haskell Platform 2011.2 is out: GHC 7 for all

hackage.haskell.org

1–10 of 34 posts

Re: The Haskell Platform 2011.2 is out: GHC 7 for all

#4
post #2

Question? I'm an ubuntu/xmonad user. I also do some occasional haskell coding. I've been using the packaged versions of xmonad and the haskell platform thus far. Are people building from source? Waiting for Natty? Using a ppa?

For most of my Haskell work, I just use the standard GHC package, with libraries installed in clean environments using ``cabal-dev``. Compatibility with Ubuntu-packaged libraries, such as xmonad or mtl, is too important to trade away for a new GHC.

For testing against GHC 7, I built from source and installed to ~/.opt/ghc_7.0.1 -- over the next few days I'll probably grab 7.0.2 and install in the same way. This is only for testing -- I don't built software against it, generally.

Building GHC from source is actually very easy -- just install the development packages, then ./configure && make . There's instructions in the GHC tarball.

Re: The Haskell Platform 2011.2 is out: GHC 7 for all

#5
Very nice! I've never written anything in Haskell beyond configuring Xmonad, so I don't know if this is how it works in the Haskell-world, but presenting it this way (the "Robust"-section in particular) really gives me the feeling that this is a great platform to explore. Libraries are extremely important, and choosing between similar ones leads to anxiety.

I think many languages should take after this. If not distribute libraries with the platform (batteries included), at-least bless some libraries. It'd be so much easier to get started with some languages (cough, Erlang) if authoritative characters in the loop would share their opinions.

Re: The Haskell Platform 2011.2 is out: GHC 7 for all

#6
It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?

Re: The Haskell Platform 2011.2 is out: GHC 7 for all

#8
post #2

Question? I'm an ubuntu/xmonad user. I also do some occasional haskell coding. I've been using the packaged versions of xmonad and the haskell platform thus far. Are people building from source? Waiting for Natty? Using a ppa?

For most of my Haskell work, I just use the standard GHC package, with libraries installed in clean environments using ``cabal-dev``. Compatibility with Ubuntu-packaged libraries, such as xmonad or mtl, is too important to trade away for a new GHC. For testing against GHC 7, I built from source and installed to ~/.opt/ghc_7.0.1 -- over the next few days I'll probably grab 7.0.2 and install in the same way. This is on…

I'll probably follow this strategy. I'll wait for the entire package structure to be revved in the next ubuntu release hopefully.

I'll run ghc7/cabal-dev from a portion of the home directory not in my path

Re: The Haskell Platform 2011.2 is out: GHC 7 for all

#9

I'm using Ubuntu Maverick. The debs page ( http://packages.ubuntu.com/search?keywords=haskell-platform ) has 2010.1.0.0.1. How do I get 2011.2 for Maverick?

You'll need to wait for your distro maintainer to update the package set. Alternatively, you can build from source, using a generic Linux ghc, like so:

http://www.vex.net/~trebla/haskell/haskell-platform.xhtml

Re: The Haskell Platform 2011.2 is out: GHC 7 for all

#10
post #6

It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?

I've been working my way through Yet Another Haskell Tutorial: http://www.cs.utah.edu/~hal/docs/daume02yaht.pdf
Post reply on HN