on master help sign in
Moved information from comments to record field names.
commitc3659afeed879be181e3303d05602c8a04f4ec2a authorAlyssa Carter <trillionalyssa@gmail.com> dateTue 14 Jan 2014, 04:57 (13 years ago) parent3f2755b
1 file changed+2−2
src/Idris/Core/TT.hs+2−2
src/Idris/Core/TT.hs+2−2
@@ -557,8 +557,8 @@ type UCs = (Int, [UConstraint])
557557
558558data NameType = Bound
559559 | Ref
560− | DCon Int Int -- ^ Data constructor; Ints are tag and arity
561− | TCon Int Int -- ^ Type constructor; Ints are tag and arity
560+ | DCon {tag :: Int, arity :: Int} -- ^ Data constructor
561+ | TCon {tag :: Int, arity :: Int} -- ^ Type constructor
562562 deriving (Show, Ord)
563563{-!
564564deriving instance Binary NameType