Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upChange description of List.member #316
Conversation
pushed a commit
that referenced
this pull request
Aug 2, 2015
evancz
merged commit d2146c1
into
elm:master
Aug 2, 2015
1 check passed
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Aug 2, 2015
Member
Great idea!
I'd be curious to know the list of languages that use that naming convention (and which languages do other things). Perhaps the best move is to rename this to contains in Set and List and Array and such. If you are interested, it would be cool to have a PR in the style of #317 outlining which languages use what and potentially get that added to #322.
Anyway, thanks for the fix!
|
Great idea! I'd be curious to know the list of languages that use that naming convention (and which languages do other things). Perhaps the best move is to rename this to Anyway, thanks for the fix! |
jessitron commentedJul 30, 2015
because this function is called 'contains' in many languages, I hit
this documentation, searched for 'contains,' and didn't find the right
method. Putting 'contains' in the description for 'member' help with this