Skip to content

Use collection functions from FSharp.Core when possible - #1210

Merged
dsyme merged 7 commits into
dotnet:masterfrom
forki:collections
May 25, 2016
Merged

dsyme merged 7 commits into
dotnet:masterfrom
forki:collections

Conversation

@forki

@forki forki commented May 21, 2016

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/fsharp/ConstraintSolver.fs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

List.drop is not an exact replacement for List.skip because it doesn't throw an exception when the list is too short. I think it's best to revert this to be on the safe side.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Feel free to add an assert to List.drop that the list is long enough

@dsyme

dsyme commented May 24, 2016

Copy link
Copy Markdown
Contributor

@forki If you can backout the List.drop changes then I think this is ready to go in.

@forki

forki commented May 25, 2016

Copy link
Copy Markdown
Contributor Author

removed that drop change

@forki
forki force-pushed the collections branch 2 times, most recently from a030cdd to 3fa05c5 Compare May 25, 2016 09:06
@dsyme

dsyme commented May 25, 2016

Copy link
Copy Markdown
Contributor

OK, this can go in, I'll merge

@dsyme
dsyme merged commit 2d95392 into dotnet:master May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants