1-- @inline export fn' never
2module Snapshot.InlineReferenceOpArrayLength where
6import Data.Array as Array
7import Data.Maybe (Maybe(..))
9test1 :: (forall r. r -> Int) -> Array Int
11 let array = [ 1, 2, fn {} ]
12 if Array.length array == 3 then
17test2 :: (forall r. r -> Int) -> Array (Array Int)
19 let array1 = [ 1, 2, fn {} ]
20 let array2 = [ array1, [ 3, 4 ], [ fn {} ] ]
21 if Just 3 == (Array.length <$> Array.index array2 0) then
26fn' :: forall r. r -> Int
30extern1 = [ 1, 2, fn' {} ]
32extern2 :: Array (Array Int)
33extern2 = [ extern1, [ 3 ], [ fn' {} ] ]
37 if Array.length extern1 == 3 then
42test4 :: Array (Array Int)
44 if Just 3 == (Array.length <$> Array.index extern2 0) then
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