more uniform treatment of Read1/Show1/Read2/Show2
authorRoss Paterson <ross@soi.city.ac.uk>
Wed, 16 Dec 2015 13:48:26 +0000 (13:48 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Wed, 16 Dec 2015 13:48:26 +0000 (13:48 +0000)
commitac99d9c2e235d836129af3925a4645960f449a5a
treea80e1df9ed786cdab8ecb92e7da34f7d2ab32fe6
parent4eacac0cd9e8643e50ad0224ddafb0b1549f6662
more uniform treatment of Read1/Show1/Read2/Show2

Now there are two methods in each class, corresponding to the methods
in the basic classes, and each of the lifting functions takes pairs of
function arguments.  The lifting functions (which have not appeared in
any release) are renamed from xxxWith to liftXxx, to avoid a clash with
showListWith (from Text.Show).
15 files changed:
Control/Applicative/Backwards.hs
Control/Applicative/Lift.hs
Control/Monad/Trans/Error.hs
Control/Monad/Trans/Except.hs
Control/Monad/Trans/Identity.hs
Control/Monad/Trans/List.hs
Control/Monad/Trans/Maybe.hs
Control/Monad/Trans/Writer/Lazy.hs
Control/Monad/Trans/Writer/Strict.hs
Data/Functor/Classes.hs
Data/Functor/Compose.hs
Data/Functor/Constant.hs
Data/Functor/Product.hs
Data/Functor/Reverse.hs
Data/Functor/Sum.hs