Closed Icelandjack closed 4 years ago
Define as <* _ = as and _ *> bs = bs in O(1) for Applicative (Co f).
as <* _ = as
_ *> bs = bs
Applicative (Co f)
This is justified by the Representable laws.
Fixes issue #64.
You're much better at asymptotic stuff, maybe there are other Co methods that can be improved.
Co
Define
as <* _ = as
and_ *> bs = bs
in O(1) forApplicative (Co f)
.This is justified by the Representable laws.
Fixes issue #64.