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

I think you might have a bug --

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



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

Search: