on master help sign in
Merge pull request #786 from JasonJAyalaP/patch-1

Fix: Change non-existant array functino to repeat, in documentation

commitc3c52cd030ab6f3ae7e9d50d485f985b4efc66e6 authorEvan Czaplicki <info@elm-lang.org> dateMon 22 Sep 2014, 16:22 (12 years ago) parentc5b387c8769c4b
1 file changed+1−1
libraries/Array.elm+1−1
libraries/Array.elm+1−1
@@ -192,7 +192,7 @@ length = Native.Array.length
192192
193193{-| Append two arrays to a new one.
194194
195− append (array 2 42) (array 3 81) == fromList [42,42,81,81,81]
195+ append (repeat 2 42) (repeat 3 81) == fromList [42,42,81,81,81]
196196-}
197197append : Array a -> Array a -> Array a
198198append = Native.Array.append