HaskellMN / beginners-night-questions

Please open an issue if you have a question for our beginner's night.
3 stars 0 forks source link

Beginner things #1

Open ellipsoid opened 10 years ago

ellipsoid commented 10 years ago

I'm pretty new to Haskell. It'd be nice to see a small application and get a sense for how it's structured.

kmarekspartz commented 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?

jozefg commented 10 years ago

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.

tylerholien commented 10 years ago

+1 for Write Yourself a Scheme. Maybe a bit large for one night unless we focus on just that.