relational-query: add deprecated ListProjection type as type synonym.

This commit is contained in:
Kei Hibino 2017-10-21 17:46:01 +09:00
parent 8befc0d911
commit c66cc46575

View File

@ -17,7 +17,7 @@
module Database.Relational.Compat
{-# DEPRECATED "backward compatibility definitions relational-query <= 0.9.*" #-} (
-- * deprecated types
Projection,
Projection, ListProjection,
-- * deprecated classes
ProductConstructor (..),
@ -46,6 +46,10 @@ import qualified Database.Relational.Projectable as Projectable
-- | deprecated 'Projection' type replaced by 'Record' type.
type Projection = Record
{-# DEPRECATED ListProjection "Replaced by RecordList type" #-}
-- | deprecated 'Projection' type replaced by 'Record' type.
type ListProjection = RecordList
{-# DEPRECATED ProjectableFunctor "use ProductIsoFunctor in Data.Functor.ProductIsomorphic instead of this. " #-}
-- | deprecated 'ProjectableFunctor' class replaced by 'ProductIsoFunctor' class.
type ProjectableFunctor = ProductIsoFunctor