Created
July 2, 2019 18:14
-
-
Save Blaisorblade/6bb4e6b71f9d13dc50311315906018b6 to your computer and use it in GitHub Desktop.
Level coercions in Agda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module foo where | |
open import Data.Nat | |
open import Agda.Primitive | |
open import Level | |
foo = λ (T : (∀ (X : Set (lsuc lzero)) → X → X)) (X : Set lzero) → T (Lift _ X) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In slightly more readable Agda:
I think what I would like to write is something like: