I finally had some time to port Matt Zimmerman’s “Jonometer” to Haskell, and have finished version 1! The following bit of code compiles natively, is statically typed, and requires no type declarations due to Haskell’s amazing type inference.
You’ll need hs-twitter, and you can run this as a script like ./jonometer.hs
Now I need to bone up [...]
Wednesday, November 4th, 2009
While processing some email, I needed a script to unwrap indented lines in email headers. I wrote a Haskell program that turned out to be a short and sweet demonstration of simple but interesting Haskell features (pattern matching, guards, type inference, function composition, and the humble cons) so I thought I’d share it.
If you’re new [...]
Thursday, August 6th, 2009
Now you can try the Karmic Wallpaper Contest script. Special thanks to Jesse Hallet.