Open ellipsoid opened 10 years ago
I'm not sure how small you mean by small, but here's a simple place to start: http://book.realworldhaskell.org/read/io.html#io.lazy.interact
Some of the case study chapters from RWH provide larger examples.
Anyone else have suggestions?
I'd suggest having a look at Beginning Haskell It's a good book with a much more up to date view than RWH.
In addition, I personally love Write You A Scheme which goes through making a primitive Scheme interpreter.
Finally, I cannot recommend reading Okasaki's book Purely Functional Datastructures enough. The code is in SML but it's not hard to learn the syntax (invest 30 minutes tops) and translating it to Haskell is a very productive exercise. This won't teach you how to write an application per se, but knowing how to write purely functional DS's is a very very useful skill to have.
+1 for Write Yourself a Scheme. Maybe a bit large for one night unless we focus on just that.
I'm pretty new to Haskell. It'd be nice to see a small application and get a sense for how it's structured.