1module Snapshot.CaseLeafTco where
5import Data.Array as Array
6import Data.Maybe (Maybe(..))
8test1 :: Boolean -> Array Int -> Array Int
9test1 b arr = case Array.head arr, Array.last arr of
11 Nothing, Just y -> arr <> [ y ]
12 Nothing, Nothing -> arr
13 Just x, Nothing -> arr <> [ x ]
18 test1 b ([ y, x, 3, y, 5, 6, 7, 8, 9, 10, x, 12, 13, 14, 15, 16, 17 ] <> arr)
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