Created
March 12, 2020 12:52
-
-
Save LeifW/579c4eaf4e365b27b3a647890525710c to your computer and use it in GitHub Desktop.
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
import Data.Vect | |
types : Vect 3 Type | |
types = [Int,Bool,Int] | |
nthType : {n: Fin 3} -> Type | |
nthType = index n types |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment