You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MATCHtpt Length bound_Term? sel_Term CaseDef* -- sel match { CaseDef } where `bound` is optional upper bound of all rhs
123
123
BYNAMEtpt underlying_Term -- => underlying
124
124
SHAREDterm term_ASTRef -- Link to previously serialized term
125
-
QUOTEHOLE Length idx_Nat tptTargs_Tree arg_Tree* -- Splice hole with index `idx`, the type of the hole `tpt`, type arguments `targ`s and term arguments `args`s
126
-
-- tptTargs=APPLIEDtpt(tpt,targ*), this is not a true type application. Reused for its structure.
127
-
HOLE Length idx_Nat tpe_Type arg_Tree* -- Splice hole with index `idx`, the type of the hole `tpe`, type and term arguments `args`s
125
+
HOLE Length idxVersion_Nat tpe_Type|tptTargs_Tree arg_Tree* -- Splice hole with index `idx=idxVersion & 0x00FFFFFF` and `version = idxVersion >> 24`,
126
+
-- if `version == 0`: the type of the hole `tpe`, type and term arguments `args`s
127
+
-- if `version == 1`: the type of the hole `tpt`, type arguments `targ`s and term arguments `args`s
128
+
-- tptTargs=APPLIEDtpt(tpt,targ*), this is not a true type application. Reused for its structure.
128
129
129
130
CaseDef = CASEDEF Length pat_Term rhs_Tree guard_Tree? -- case pat if guard => rhs
0 commit comments