diff --git a/src/Core__List.resi b/src/Core__List.resi index 610a282..4d373b3 100644 --- a/src/Core__List.resi +++ b/src/Core__List.resi @@ -179,7 +179,7 @@ List.make(~length=3, 1) // list{1, 1, 1} let make: (~length: int, 'a) => t<'a> /** -`makeBy(length, f)` return a list of length `length` with element initialized +`fromInitializer(length, f)` return a list of length `length` with element initialized with `f`. Returns an empty list if `length` is negative. ## Examples