Applicative ((->) c) methods

Tony Morris tonymorris at gmail.com
Wed Nov 20 05:15:42 UTC 2019


This is incorrect.

(<*) = liftA2 const
(*>) = liftA2 (flip const)

On 19/11/19 6:40 am, Keith wrote:
> Just thinking for Applicative ((->) c)
> (<*) = const
> (*>) = flip const -- or \ _ x -> x
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20191120/228d08ca/attachment.sig>


More information about the Libraries mailing list