Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Rust's 2018 roadmap. Parent comment
flip runStateT s $ do ...
If I have to add an explicit annotation to a do block it's simple enough to separate it into another function.
justSix :: Maybe Int justSix = do x <- pure 1 y <- pure 5 pure (x + y)
There are no comments on this comment yet.
If I have to add an explicit annotation to a do block it's simple enough to separate it into another function.
I read the article and couldn't find the part where they said that type inference is a problem with do notation.