add Applicative instance for Either (proposal #4095)
authorRoss Paterson <ross@soi.city.ac.uk>
Thu, 17 Jun 2010 22:51:10 +0000 (22:51 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Thu, 17 Jun 2010 22:51:10 +0000 (22:51 +0000)
commit8abb469bd2210d78da74b334a0f4397be5ac37f6
treef12af499977e0b618365d8cd2fb25a36121ed47c
parentb56d2e60a1141e9fc23d795b5b7222921670a285
add Applicative instance for Either (proposal #4095)

This is not the only possible instance for Either, but this one is
compatible with the usual Monad instance.
Control/Applicative.hs