Created
December 31, 2015 02:51
-
-
Save LeifW/e54dfbd8654b9c800d1a to your computer and use it in GitHub Desktop.
Nothing special about Idris's (=) type.
This file contains hidden or 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
%default total | |
data MyEq : a -> a -> Type where | |
MyRefl : MyEq a a | |
myTrans : MyEq a b -> MyEq b c -> MyEq a c | |
myTrans MyRefl MyRefl = MyRefl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment