-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List API is inconsistent with other modules #192
Comments
@cknitt I think we can change it to make it consistent. Good to do before Core goes into the compiler. What do you think? |
Yes, absolutely, I agree we should make it consistent before Core goes into the compiler. |
But there are still some open questions:
|
Which would then be the same as |
This is for historical reasons (the
List
module is copied from Belt).For example:
let forEach: (t<'a>, 'a => 'b) => unit
let forEach: (t<'a>, 'a => unit) => unit
or
let mapWithIndex: (t<'a>, (int, 'a) => 'b) => t<'b>
let mapWithIndex: (t<'a>, ('a, int) => 'b) => t<'b>
or
getBy
find
The text was updated successfully, but these errors were encountered: