News for hackers. Stuff that matters.
Re:Learn Functional Programming Design from Redux by wqsz7xn on Tuesday August 04, 2020 @05:35AM (#24048247)

  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.
Re:Learn Functional Programming Design from Redux by yakshaving_jgt on Tuesday August 04, 2020 @06:55AM (#24048661)
The Haskell snippet included is basically gibberish. It’s best to ignore it.
Re:Learn Functional Programming Design from Redux by tome on Tuesday August 04, 2020 @07:36AM (#24048886)
Has it been removed? I don't see any Haskell in the article.
Re:Learn Functional Programming Design from Redux by dddbbb on Tuesday August 04, 2020 @09:00AM (#24049476)
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...

Re:Learn Functional Programming Design from Redux by tome on Tuesday August 04, 2020 @09:25AM (#24049697)
Ah yes, just goes to show I ignore images in articles!
Re:Learn Functional Programming Design from Redux by yakshaving_jgt on Tuesday August 04, 2020 @08:01AM (#24049072)
Looks like it has been removed, yes.
Re:Learn Functional Programming Design from Redux by yakshaving_jgt on Tuesday August 04, 2020 @11:07AM (#24050719)
Actually no it hasn't. I think I'm just blind occasionally.