@@ -180,6 +180,7 @@ data PatternCtorArg =
182data Annotation = Forall FreeVars Type
182data Annotation = Forall FreeVars Type
185type FreeVars = Map.Map Name ()
186type FreeVars = Map.Map Name ()
@@ -193,15 +194,17 @@ data Type
194 | TTuple Type Type (Maybe Type)
195 | TTuple Type Type (Maybe Type)
195 | TAlias ModuleName.Canonical Name [(Name, Type)] AliasType
196 | TAlias ModuleName.Canonical Name [(Name, Type)] AliasType
198data AliasType
200data AliasType
199 = Holey Type
201 = Holey Type
200 | Filled Type
202 | Filled Type
204− FieldType {-# UNPACK #-} !Word16 Type
206+data FieldType = FieldType {-# UNPACK #-} !Word16 Type
207-- NOTE: The Word16 marks the source order, but it may not be available
210-- NOTE: The Word16 marks the source order, but it may not be available
@@ -237,7 +240,11 @@ data Module =
239data Alias = Alias [Name] Type
242data Alias = Alias [Name] Type
240data Binop = Binop_ Binop.Associativity Binop.Precedence Name
246data Binop = Binop_ Binop.Associativity Binop.Precedence Name
243data Union =
250data Union =
@@ -247,6 +254,7 @@ data Union =
247 , _u_numAlts :: Int -- CACHE numAlts for exhaustiveness checking
254 , _u_numAlts :: Int -- CACHE numAlts for exhaustiveness checking
248 , _u_opts :: CtorOpts -- CACHE which optimizations are available
255 , _u_opts :: CtorOpts -- CACHE which optimizations are available
252data CtorOpts
260data CtorOpts
@@ -256,8 +264,8 @@ data CtorOpts
256 deriving (Eq, Ord)
264 deriving (Eq, Ord)
260− Ctor Name Index.ZeroBased Int [Type] -- CACHE length args
267+data Ctor = Ctor Name Index.ZeroBased Int [Type] -- CACHE length args