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
-- TODO(gnumonik): THESE ARE NOT RIGHT. UPDATE TO WORK W/ TyVarP
132
113
assumptions =
133
114
S.toList .S.fromList $
134
115
S.toList inScopeInstances -- the basic set of in-scope instances
135
116
<>concatMap (mkStructuralRules . constraintClass) (c : cs) -- structural rules for all in scope classes
136
117
<> assume cs -- local assumptions, i.e., the `C a` in `instance C a => C (F a)`
137
118
<>S.toList (S.filter (/= i) localInstances) -- all local instances that aren't the one we're trying to check
138
-
<> assumeLocalOpaqueInstances localTyDefs (S.toList localInstances) -- all local instances (i.e. ones to be generated) with an opaque body (treat them as assertions/axioms)
0 commit comments