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
Section Foo.
Variable A : Type.
HB.instance Definition list_m1 := m1.Build (option A) (list nat) (cons 7 nil) None.
End Foo.
If we abstract list_m1 over A we get an assertion in
predmixin-srcsi:term, i:term, o:listprop.mixin-srcsTXMSL:-std.do! [
std.assert-ok! (coq.typecheck X XTy) "mixin-src: X illtyped",
if (not (safe-dest-appXTy (global_) _))
(coq.error "Term:\n" {coq.term->string X}
"\nhas type:\n" {coq.term->string XTy}
"\nwhich is not a record")
Instead we should record the abstractions before the record and put them in front of S
As of today we can only write
If we abstract
list_m1
overA
we get an assertion inInstead we should record the abstractions before the record and put them in front of
S
The text was updated successfully, but these errors were encountered: