Wolfgang Jeltsch
2018-05-09 12:59:46 UTC
In modern code it should be fairly rare to import
Control.Arrow.
[…] in an attempt to help lead people away from Control.Arrow.
I’m irritated. Can someone explain what is wrong about
Control.Arrow?
I think there is nothing wrong about Arrow, but people abusedControl.Arrow.
[…] in an attempt to help lead people away from Control.Arrow.
I’m irritated. Can someone explain what is wrong about
Control.Arrow?
Arrow.first and Arrow.second for plain function arrow and now we have
Bifunctor which is the more appropriate abstraction for most uses of
'first' and 'second'. (Though I guess that most uses need no
abstraction at all.)
as using Arrow.first and Arrow.second. When using Arrow you specialize
the arrow type to (->), but when using Bifunctor you specialize the
bifunctor type to (,).
All the best,
Wolfgang