3 ms·
About #0, it would be very, very interesting to see how that works on practice. There has just been a big debate on the Haskell community over extending the do
by marcosdumay 10y ago
About #0, it would be very, very interesting to see how that works on practice.
There has just been a big debate on the Haskell community over extending the do notation to work with applicatives, instead of only monads. The pro side won, and it's already on GHC 8. It's too early to be sure, but it didn't seen to break anything yet.
The article suggests extending it into pure values too (so that you don't actually need the "do" part). I think all the same arguments apply, so it may be a good move.