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

extend standard library with functions using lambdas #28

Open
soc opened this issue Aug 23, 2022 · 3 comments
Open

extend standard library with functions using lambdas #28

soc opened this issue Aug 23, 2022 · 3 comments
Labels
enhancement improving existing functionality good first issue good for newcomers library changes to the Core standard library

Comments

@soc
Copy link
Collaborator

soc commented Aug 23, 2022

No description provided.

@soc soc added enhancement improving existing functionality good first issue good for newcomers library changes to the Core standard library labels Aug 24, 2022
@barkanido
Copy link

hey, I would like to take a shot at this. I have little experience in rust but am willing to try and contribute with the proper assitence

@soc
Copy link
Collaborator Author

soc commented Sep 6, 2022

Hey @barkanido, thanks for your interest!

Out of interest, can I ask how you found this project?

Regarding this ticket: I had moved the milestone of this issue back earlier this day, because I haven't checked in a while what's the actual implementation status of lambdas in the runtime.

So it's totally possible that lambdas simply don't work at runtime; nevertheless it would still be worthwhile to write lambda-using code for the standard library (no Rust required) to ensure that the expected usage patterns are parsed and typechecked correctly.

I think Option could be a good start to add functions of higher-order. If you are unsure which functions are useful, you could have a look at Scala, Rust, Haskell and OCaml for inspiration. (I guess the basic ones are map, filter, flatMap, matches, orGet, orElseGet, ...) But we can also discuss this in more detail, if you want!

Thanks,

Simon

@soc
Copy link
Collaborator Author

soc commented Sep 13, 2022

Hey @barkanido,

I didn't want to intrude with my questions, apologies if it came across like that. I was just curious how you found this project/repository, because I didn't do any outreach or advertisement anywhere, so it was a pleasant surprise seeing someone interested!

Let me know if you have any question or suggestions!

Thanks,

Simon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improving existing functionality good first issue good for newcomers library changes to the Core standard library
Projects
None yet
Development

No branches or pull requests

2 participants