I know, I might be asking much, but does any one know of some nice little programming examples / libraries for Haskell.
For a 'introduction to programming' course I want to show that Haskell is more than a 'little script language to sort numbers'.
I already found a Quake clone (Real world Haskell programming) which is impressive, but too complex for the students to play around with.
Do you have an idea? Maybe something with graphics or interaction with a web service? Something suitable for first year cs students.
Thanks for your intput!
[update]
Or maybe you know a 'fun' library?
main = putStrLn "Hello, World!" module Main where main = putStrLn "Hello, World!" module Main where main = putStrLn "Hello, World!"
Haskell provides an elegant, concise and safe way to write your programs. Programs will not crash unexpectedly, nor produce strangely garbled output.
Haskell's design is centered around pure functions and immutable data. Over and over, these features have proven essential for writing correct software. Managing global state, mutable data, and side effects is error-prone, and Haskell gives the programmer all the tools to avoid or minimize these sources of complexity.
Dig around on http://hackage.haskell.org -- there are 2200+ libraries and programs there, many in the games section, in particular, where designed for teaching. As was this jpeg encoder, or this nice mp3 decoder.
In terms of practicality, the core of xmonad is concise, pure and used by thousands of people every day.
I'm going to put in a plug for Star Rover and Freekick, for a few reasons:
Good luck, and hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With