Thursday, October 23, 2008

Real World Haskell
by Bryan O'Sullivan, Don Stewart, and John Goerzen

Why functional programming? Why Haskell?
1. Getting started
2. Types and functions
3. Defining types, streamlining functions
4. Functional programming
5. Writing a library: working with JSON data



From Sententia cdsmithus

Ray Tracing in Haskell
Rather than just listing off language constructs, I wanted to motivate the whole thing with an actual application. So that’s how I ended up spending yesterday afternoon writing a ray tracer in Haskell. I’m certainly not the first to do so, nor the best, but I am writing this blog post to explain the process I went through. I’ll try making this a literate Haskell post, so you can copy and paste it into a source file (extension .lhs) and run it.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home