T8958.stderr 2.47 KB
Newer Older
1

2
T8958.hs:1:31: warning:
3 4
    -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
TYPE SIGNATURES
5
  T8958.MkMap :: forall k v. [(k, v)] -> Map k v
6 7 8
TYPE CONSTRUCTORS
  type role Map nominal representational
  newtype (Nominal k, Representational v) => Map k v = MkMap [(k, v)]
9
    Kind: * -> * -> *
10 11 12 13
  class Nominal a
  type role Representational representational
  class Representational a
COERCION AXIOMS
14
  axiom T8958.N:Map :: Map k v = [(k, v)] -- Defined at T8958.hs:13:1
15 16 17 18 19
INSTANCES
  instance [incoherent] Nominal a -- Defined at T8958.hs:7:10
  instance [incoherent] Representational a
    -- Defined at T8958.hs:10:10
Dependent modules: []
20
Dependent packages: [base-4.9.0.0, ghc-prim-0.5.0.0,
21
                     integer-gmp-1.0.0.1]
22 23

==================== Typechecker ====================
24 25
T8958.$tcMap
  = GHC.Types.TyCon
26 27 28 29
      11173210732975605893##
      6338753504925142034##
      T8958.$trModule
      (GHC.Types.TrNameS "Map"#)
30 31
T8958.$tc'MkMap
  = GHC.Types.TyCon
32 33 34 35
      10702411725744601909##
      8660532495248702786##
      T8958.$trModule
      (GHC.Types.TrNameS "'MkMap"#)
36
T8958.$tcRepresentational
37
  = GHC.Types.TyCon
38 39 40 41 42
      17939208465687456137##
      86959701938445380##
      T8958.$trModule
      (GHC.Types.TrNameS "Representational"#)
T8958.$tc'C:Representational
43
  = GHC.Types.TyCon
44 45 46 47
      6623579006299218188##
      18041743345929230411##
      T8958.$trModule
      (GHC.Types.TrNameS "'C:Representational"#)
48
T8958.$tcNominal
49
  = GHC.Types.TyCon
50 51 52 53 54
      5048799062136959048##
      4899664595355811926##
      T8958.$trModule
      (GHC.Types.TrNameS "Nominal"#)
T8958.$tc'C:Nominal
55
  = GHC.Types.TyCon
56 57 58 59
      13167926310643805202##
      1726092271306256063##
      T8958.$trModule
      (GHC.Types.TrNameS "'C:Nominal"#)
60 61 62
T8958.$trModule
  = GHC.Types.Module
      (GHC.Types.TrNameS "main"#) (GHC.Types.TrNameS "T8958"#)
63 64
AbsBinds [a] []
  {Exports: [T8958.$fRepresentationala <= $dRepresentational
eir@cis.upenn.edu's avatar
eir@cis.upenn.edu committed
65
               <>
66 67 68 69
               <>]
   Exported types: T8958.$fRepresentationala
                     :: forall a. Representational a
                   [LclIdX[DFunId], Str=DmdType]
70
   Binds: $dRepresentational = T8958.C:Representational
71
   Evidence: [EvBinds{}]}
72 73
AbsBinds [a] []
  {Exports: [T8958.$fNominala <= $dNominal
eir@cis.upenn.edu's avatar
eir@cis.upenn.edu committed
74
               <>
75 76 77
               <>]
   Exported types: T8958.$fNominala :: forall a. Nominal a
                   [LclIdX[DFunId], Str=DmdType]
78
   Binds: $dNominal = T8958.C:Nominal
79
   Evidence: [EvBinds{}]}
80