Skip to content

Conversation

@mleone11
Copy link
Contributor

Let me know if there is a function you were hoping for that I missed, or one that you don't think we'll need
Also keep in mind that the naming conventions might lean more functional (based on Haskell) and I'm open to making them more like .NET. I kept that in mind when I wrote this draft but might have overlooked some.

@mleone11 mleone11 added the enhancement New feature or request label Feb 26, 2022
@mleone11 mleone11 self-assigned this Feb 26, 2022
Copy link
Contributor

@wduncanfraser wduncanfraser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this looks good. I didn't go through and compare every name, but I'd say the one thing is we want to make sure overlapping functions are named the same as their FSharp List counterparts, for consistency in the ecosystem. https://fsharp.github.io/fsharp-core-docs/reference/fsharp-collections-listmodule.html

Anything outside that can be named whatever. But yeah, if we are consistent on that front, good to go.

@mleone11
Copy link
Contributor Author

mleone11 commented Mar 5, 2022

Updated the following per your comment:
count -> length
drop -> skip
dropWhile -> skipWhile
forEach -> map
forAll -> forall
removeAt -> updateAt

@mleone11 mleone11 force-pushed the fsdv-nonemptylist-utils branch from a5cd441 to 394e2c7 Compare March 5, 2022 01:35
@mleone11 mleone11 merged commit 59eb5d4 into main Mar 5, 2022
@mleone11 mleone11 deleted the fsdv-nonemptylist-utils branch March 5, 2022 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants