4intVec = [1, 2, 3, 4, 5]
12list_lookup : Nat -> List a -> Maybe a
13list_lookup _ Nil = Nothing
14list_lookup Z (x :: xs) = Just x
15list_lookup (S k) (x :: xs) = list_lookup k xs
17lookup_default : Nat -> List a -> a -> a
18lookup_default i xs def = case list_lookup i xs of
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list