haskell-issues icon indicating copy to clipboard operation
haskell-issues copied to clipboard

semigroupoids: instance Alt Identity

Open Gurkenglas opened this issue 8 years ago • 1 comments

I am currently making a typeclass that relates Alternatives and Alts 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.

Gurkenglas avatar Mar 19 '16 19:03 Gurkenglas

I have asked Edward in #haskell-lens whether such an instance would make sense – waiting for a response.

neongreen avatar Mar 19 '16 22:03 neongreen