Gershom B
2018-02-20 06:22:35 UTC
But on the other hand, pointfree.io tells me that you can write
trace =<< f
trace =<< show . f
so I'm not sure how urgent these are.
Nifty! If we add this prominently to the docs in Data.Trace, wouldnâttrace =<< f
trace =<< show . f
so I'm not sure how urgent these are.
that suit us better?
If Iâm not mistaken, those make use of the unwrapped reader monad? In my
opinion, that is an instance that is confusing and unidiomatic to many
people. I donât think that âeasy to write with unwrapped readerâ is the
same as âeasy to writeâ (or âeasy to understandâ). I wouldnât want core
docs to recommend this as an approach.
-g