-
-
Save ohad/1a238aad4308c7c26fa67f28eb90a3d6 to your computer and use it in GitHub Desktop.
Idris example that works
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
U : Type -> Type | |
U x = x | |
works : (a : Type) -> (H : U a) -> (let q = H in Nat) | |
works a h = 0 | |
fails : (a : Type) -> (H : U a) -> (let q : U a = H in Nat) | |
fails a h = 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment