Skip to content
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

Other F# default Seq functions #82

Open
lucasteles opened this issue Jun 16, 2022 · 2 comments
Open

Other F# default Seq functions #82

lucasteles opened this issue Jun 16, 2022 · 2 comments

Comments

@lucasteles
Copy link

lucasteles commented Jun 16, 2022

The BCL F# Seq module has some other really helpful functions, do you have plans to implement them? need help/accept PR?

average
averageBy
cache
countBy
distinct
distinctBy
exactlyOne
exists
exists2
forall
forall2
groupBy
iteri
last
maxBy
minBy
nth
pairwise
pick
reduce
skipWhile
sort
sortBy
takeWhile
truncate
tryFind
tryFindIndex
tryPick
windowed
zip3
@dbrattli
Copy link
Owner

Yes, would love a PR on this. Note that the code should be using curry or curry_flipped style functions instead of the nested (function returning) functions. See here for an example: https://github.com/cognitedata/Expression/blob/main/expression/collections/block.py#L669

@ShalokShalom
Copy link
Contributor

Note: curry_flipped got renamed into curry_flip

#87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants