Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, this was more of a draft than a finished article. I didn't realize anyone was following my blog :P. It's a working title at best—it doesn't really reflect what I wanted to talk about... but then, I'm not sure the second half or so does either.

I think you might have a bug --

    return :: a -> State a
    get :: State Int
    set :: Int -> State Int -- should be Int -> State () surely?

is all of the code meant to be invisible? :)

Oh, that's a weird bug with the fonts... which I thought I had fixed. Unfortunately, I can't reproduce it locally, so I'm not sure I can do much about it right now.

looks fine now

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact