haskell-issues
haskell-issues copied to clipboard
semigroupoids: instance Alt Identity
I am currently making a typeclass that relates Alternative
s and Alt
s that are differing by their empty
for laziness and profit. Maybe
belongs to Identity
, but Identity
doesn't have an Alt
instance yet. It should have one, where (<!>) = const
.
I have asked Edward in #haskell-lens whether such an instance would make sense – waiting for a response.