[commit: base] ghc-generics1: Deprecate `Par0` and `P` (76cf431)
José Pedro Magalhães
jpm at cs.uu.nl
Thu Jun 7 14:37:23 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : ghc-generics1
http://hackage.haskell.org/trac/ghc/changeset/76cf431d453566bba2f282db9a9c3b5263250c76
>---------------------------------------------------------------
commit 76cf431d453566bba2f282db9a9c3b5263250c76
Author: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>
Date: Thu Jun 7 13:37:05 2012 +0100
Deprecate `Par0` and `P`
>---------------------------------------------------------------
GHC/Generics.hs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/GHC/Generics.hs b/GHC/Generics.hs
index 41ac532..fd3b2f4 100644
--- a/GHC/Generics.hs
+++ b/GHC/Generics.hs
@@ -80,6 +80,7 @@ data P
type Rec0 = K1 R
-- | Type synonym for encoding parameters (other than the last)
type Par0 = K1 P
+{-# DEPRECATED Par0, P "These are no longer used; use Rec0 and R instead" #-}
-- | Tag for M1: datatype
data D
More information about the Cvs-libraries
mailing list