8000 Combinator builtins · Issue #5 · kiedtl/finwe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Combinator builtins #5

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

Open
2 tasks
kiedtl opened this issue Feb 14, 2024 · 0 comments
Open
2 tasks

Combinator builtins #5

kiedtl opened this issue Feb 14, 2024 · 0 comments
Labels
lang-new New language feature proposal

Comments

@kiedtl
Copy link
Owner
kiedtl commented Feb 14, 2024

Making dip, sip, bi@, bi*, etc builtin would provide more "structured programming"-type improvements. For example, dip would allow for refactoring the following:

move
over dup * swap -
(r move) +

into

(dip [ over dup * swap - ]) +

There would still be a manually-defined version for the stdlib though.

  • dip
  • others
@kiedtl kiedtl added the lang-new New language feature proposal label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-new New language feature proposal
Projects
None yet
Development

No branches or pull requests

1 participant
0