• David Feuer's avatar
    Add liftA2 to Applicative class · a2f39da0
    David Feuer authored
    * Make `liftA2` a method of `Applicative`.
    
    * Add explicit `liftA2` definitions to instances in `base`.
    
    * Add explicit invocations in `base`.
    
    Reviewers: ekmett, bgamari, RyanGlScott, austin, hvr
    
    Reviewed By: RyanGlScott
    
    Subscribers: ekmett, RyanGlScott, rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3031
    a2f39da0
Applicative.hs 3.87 KB