maradydd: (Default)
maradydd ([personal profile] maradydd) wrote2009-07-30 11:07 pm

Things I figured out about Haskell today

  • Maybe is the same thing as Kleene ? (the "zero or one" operator in regular expressions).
  • A typeclass is the same thing as an STL concept, but a typeclass actually means it.
  • instance means "We're going to make this data type an instance of this typeclass, and here's how."
Now if I can just get my head around monads, I'm set.

[identity profile] allonymist.livejournal.com 2009-07-30 10:59 pm (UTC)(link)
Monads are weird. I can use them so long as I'm not thinking about how they work, and I can understand how they work so long as I'm not trying to use them.