-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Rosetta Code tasks #164
Comments
Cool! Please add these to the repository. Let me add a directory for you. |
would it be advisable to make a pull request for every rosetta code addition? Some rosetta code tasks are highly trivial and require more explanation than code. |
Neither. I think I added you as a developer. Please check. You should be able to push directly to the repository |
I'd like to start on the rosetta code additions in a separate branch
to verify that the additions are in the most idiomatic form possible.
I hope that is ok.
…On 10/26/22, John Skaller ***@***.***> wrote:
Neither. I think I added you as a developer. Please check. You should be
able to push directly to the repository
--
Reply to this email directly or view it on GitHub:
#164 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Sure! |
Some of the tasks will require reversing and sorting of strings and collections of data (varrays?). Lists have a Is it planned to add this in the standard library for strings and other data types like varray? Or is it expected that the user will roll their own, something like:
|
Note that, since Felix strings are C++ strings ... you can always write code in C++ and then embed it in Felix code. Notice, the varray sort in the standard library is actually C++ standard library sort. I'm not sure if sorting or reversing a string belongs in the standard library or not, but it really I add things to the library when I need them. |
In lieu of more extensive documentation, one thing we could do is work on Rosetta Code tasks. These give short, focused examples of how to do different things in the language.
Right now, there is exactly one: https://rosettacode.org/wiki/Category:Felix
There are currently 1081 tasks available: https://rosettacode.org/wiki/Category:Programming_Tasks
I'll probably start chipping away at these soon.
The text was updated successfully, but these errors were encountered: