Closed Icelandjack closed 4 years ago
It passes now, how does it look?
Thanks again!
That was exhausting. I'm happy to see it accepted!
I have to admit I'm struggling a bit to understand why this library is the right home for these.
Oh, "Biapplicative
", not those classes. Okay. Still a bit of a mess, but better.
Biap
felt like a natural progression of Ap
so I figured it should be in bifunctors
with Biapplicative
. But the motivation above is a bit crap I know. Should Data.Bifunctor.Biap
stay or change?
Since
Ap
got added to base I think it's worth adding it here, in tagless styleyou sometimes want to lift operations over a pairs or something similar, then I prefer attaching that behaviour to
Biap
and deriving via itOpen questions
(==)
can't be lifted. luqui suggested Traversable F-algebras..Ap
andBiap
instances follow a pattern, can they be derived?