on master help sign in
Typo
7c1f156Christian Widera
libraries/Array.elm+1−1
@@ -138,7 +138,7 @@ getMaybe i array = if Native.Array.length array > i
138 else Nothing
138 else Nothing
139
139
140{-| Get the element at the index. If the index is out of range, the given default
140{-| Get the element at the index. If the index is out of range, the given default
141−elementis returned.
141+element is returned.
142
142
143 getSafe 0 2 (A.fromList [3,2,1]) == 1
143 getSafe 0 2 (A.fromList [3,2,1]) == 1
144 getSafe 0 5 (A.fromList [3,2,1]) == 0
144 getSafe 0 5 (A.fromList [3,2,1]) == 0