Skip to content

Commit

Permalink
Fix: Change non-existant array functino to repeat, in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason J Ayala P authored and Jason J Ayala P committed Sep 13, 2014
1 parent 6b6d7e2 commit 8769c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/Array.elm
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ length = Native.Array.length

{-| Append two arrays to a new one.
append (array 2 42) (array 3 81) == fromList [42,42,81,81,81]
append (repeat 2 42) (repeat 3 81) == fromList [42,42,81,81,81]
-}
append : Array a -> Array a -> Array a
append = Native.Array.append

0 comments on commit 8769c4b

Please sign in to comment.