Skip to content

Commit 212a11a

Browse files
committed
Update docs.
1 parent 301bd54 commit 212a11a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,14 @@ dropWhile :: forall a. (a -> Boolean) -> [a] -> [a]
431431
Remove the longest initial subarray for which all element satisfy the specified predicate,
432432
creating a new array.
433433

434+
#### `replicate`
435+
436+
``` purescript
437+
replicate :: forall a. Number -> a -> [a]
438+
```
439+
440+
Create an array with repeated instances of a value.
441+
434442
#### `functorArray`
435443

436444
``` purescript
@@ -662,4 +670,7 @@ init :: forall a. [a] -> [a]
662670

663671
Get all but the last element of a non-empty array.
664672

665-
Running time: `O(n)`, where `n` is the length of the array.
673+
Running time: `O(n)`, where `n` is the length of the array.
674+
675+
676+

0 commit comments

Comments
 (0)