I just wrote the following and found it odd.
(* foo.v *)
Universe BIG.
(* bar.v *)
Require Import foo.
Fail Definition t : Type@{foo.BIG}.
Definition t : Type@{BIG} := nat.
Is there a reason why universe names are not scoped the way that other names are? How would I distinguish between two universes declared in different files but have the same name?
works for me
Ooops, I got my example wrong. Thanks
Ali Caglayan has marked this topic as resolved.
Last updated: Oct 13 2024 at 01:02 UTC