polymorphism - An unexpected universe level -
here definition similar 1 in data.list.all
:
open import data.vec data {α π} {a : set α} (p : -> set π) : ∀ {n} -> vec n -> set π []ₐ : p [] _∷ₐ_ : ∀ {n x} {xs : vec n} -> p x -> p xs -> p (x ∷ xs)
why all
lie in set π
?
agda version 2.4.3.
agda 2.4.2.4 , agda 2.4.2.5 (the maintenance branch) report expected error when all
lives in set π
, accepted agda 2.4.3 (the master branch).
please reports issue in agda bug tracker.
Comments
Post a Comment