1module Snapshot.PrimOpArray01 where
3import Data.Array (length, unsafeIndex)
4import Data.Array.NonEmpty as NEA
5import Partial.Unsafe (unsafePartial)
7test1 :: forall a. Array a -> Int
10test2 :: forall a. Array a -> a
11test2 a = unsafePartial unsafeIndex a 2
13test3 :: forall a. NEA.NonEmptyArray a -> Int
16test4 :: forall a. NEA.NonEmptyArray a -> a
17test4 a = unsafePartial NEA.unsafeIndex a 2
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