Alfedenzo (alfedenzo) wrote,
Alfedenzo
alfedenzo

Last week I wrote my first real Haskell code. For that my matter, it was my first non-trivial purely functional code. Pattern matching is nice. Typing was less annoying than I was expecting, and I suspect there are parts of Haskell that make it even less annoying. I ended up with a simple (unbalanced) binary tree implementation storing key/value pairs. The bit that took longest (apart from beating my head against the wall until I noticed that I'd mispelled the name of one of my datatypes) was the deletion code.

Over the weekend, math_foo and I went up to Toronto to see the Evil Dead musical with eehee , her boyfriend, and sbranzei. It was fun, a lot less serious than the movies it was based on, although the Candarian demons seemed to have a slightly greater obsession with reproductive organs than I recalled.
Subscribe

  • Thoughts on the Library of Babel

    Each book in the Library of Babel has 1312000 characters (22 letters, space, comma and period). This means that there are 25 1312000 ~= 1.956 * 10…

  • Patience Diff, a brief summary

    Last night I went to a coding party at a friend's house. I was on my laptop, and so didn't have any of my regular projects with me, so instead I…

  • (no subject)

    Tonight was the Open Text Christmas party. After a slowish start, once people I knew started showing up, things started to improve. By the the time…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments