on master help sign in
Update toList -> elements
commit7175be19a5ea3bd350b7c4ddb4f7f5c20f6f8abc authorChristian Widera <xash@posteo.de> dateMon 31 Mar 2014, 23:08 (13 years ago) parent2fb19e2
1 file changed+1−1
libraries/Array.elm+1−1
libraries/Array.elm+1−1
@@ -44,7 +44,7 @@ fromList = List.foldl (Native.Array.push) Native.Array.empty
4444 elements (fromList [3,5,8]) == [3,5,8]
4545-}
4646elements : Array a -> [a]
47−elements = Native.Array.toList
47+elements = Native.Array.elements
4848
4949{-| Create a list of the possible indices of an array.
5050