Comment

Comment by zalmoxes

your example went from readable to complete nonsense really quickly.

Mind rewriting

       do
        y <- f x
        fy
or annotating into something that makes sense?

say with an example like response, err := http.Get(someURL)

How would this example look like in haskell if error handling is abstracted away?

parent zalmoxes 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton