Hacker News new | ask | show | jobs
by wqsz7xn 2151 days ago

  main :: (RealWorld ->) ((), RealWorld)
I've been doing haskell for a few months now. I don't think I have ever seen a expression like this. It looks like State. Is this even valid syntactically? I'm Probably bikeshedding.
1 comments

The Haskell snippet included is basically gibberish. It’s best to ignore it.
Has it been removed? I don't see any Haskell in the article.
It's still there as far as I can see, it's in an image[0]. I believe their intention is to show a kind of pseudo-desugaring of what the IO monad actually does internally.

[0] -- https://pitayan.com/assets/static/haskell.cbab2cf.82d9f5b091...

Ah yes, just goes to show I ignore images in articles!
Looks like it has been removed, yes.
Actually no it hasn't. I think I'm just blind occasionally.