Consider the following function: oddness :: Maybe Int oddness = do let a = Just 1 :: Maybe Int b >= \b -> return b And recall the definition of (>>=) for Maybe: instance Monad Maybe where (Just x) >>= k = k x Nothing >>= _ = Nothing So…
I’ve added support for OpenID. For those of you from LiveJournal, this means you have an easy way to post comments here. You’ll see an OpenID URL box when you comment. You already have an OpenID – LiveJournal invented it – and it’s simply the URL of your LJ: for…
I got a nice card from mini-Elbeno. And some gifts: Hotel Dusk: Room 215 Puzzle Quest: Challenge of the Warlords I Am A Strange Loop An Inconvenient Truth (the book) Guitar Hero and Guitar Hero 2 and a wireless controller Good day so far!