The potential of pratical Haskell, 2nd edition

First of all, I couldn’t imagine have done all of this in another language. You do really get caught by the beautifulness and the expressiveness of Haskell code. I passed many (every? ;-)) night of this last month in long and exceptionally fun hacking sessions. Now I can show off some “physical” bounties, and be glad to have actually understood many very interesting concepts and tips.

I announced some days ago, on the gtk2hs-devel mailing list, that the bindings were complete and in the Gtk2Hs cvs. I don’t know who had tried it yet, but I decided to write a sample application to show off Haskell and Cairo - and it looks so nice!

Thanks to Boegel’s work HaskLS, Duncan initial tries while I was translating the documentation, and the simplicity of Gtk+Haskell brought by Gtk2Hs itself, I’m proud to show you this screenshot of the demo application rendering Lindenmayer Systems (which, as now, counts 118 lines of code, including comments!):

[img] [img]

I want to thank everybody involved in the project again, this was a great learning experience for me. Also many many thanks to Galois Connections, which donated the space for the darcs repositories used during the hard developing, and

It’s not just about techincal information, working with other people, writing OpenSource projects, is a superb personal experience. Quoting shapr again, when you start a cool project, people around you will help you make it real. The community’s feedback is also one of the most important part - it compels yourself to try to do as best as you can. Furthermore, thanks in particular to the Haskell community, this process has a excellent rhythm - yes, they are smart ;-). I hope my work will be as useful as I imagined it two months ago. I’m very proud to have actually released a project - my first real OpenSource project.

OTOH, Haskell is having a big momentum these days, read for example the latest Haskell Weekly Newsletter, or the last issue of The Monad.Reader, and what about the growing number of little cool Haskell projects starting everywhere? I’m looking forward to see some Haskell Ph.D making good use of the binding ;-)

I’m planning to release the program I used to make those screenshot these days, for now, stay tuned: more Haskell+Cairo porn is on the way :-D

2 Responses to “The potential of pratical Haskell, 2nd edition”

  1. boegel Says:

    Cool results, and I love the way how you improved my gui and made usefull use of my (short) implementation of L-Systems, to show off the power of your Haskell Ca├»ro binding ! I hope you’ll earn lot’s of money with this, learned a lot from it and will continue as active as you are now in the Haskell community… Maybe we can work together on some 3D-related project ? ;)

  2. boegel Says:

    Hi, I have an interesting link for you, which can help with producing even more stunning images. It’s a high quality (legal) pdf of a book written partly by Lindenmayer himself…

    http://algorithmicbotany.org/papers/abop/abop.pdf

    Have fun with it !