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

Anonymous functions #16

Merged
merged 5 commits into from
Mar 1, 2022
Merged

Anonymous functions #16

merged 5 commits into from
Mar 1, 2022

Conversation

bichanna
Copy link
Owner

@bichanna bichanna commented Mar 1, 2022

Allow something like this:

define doSomething(func) {
    func();
}

doSomething(define() {
    writeln("Hello World");
});

@bichanna bichanna merged commit f42755c into master Mar 1, 2022
@bichanna bichanna deleted the anonymous branch March 1, 2022 03:21
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.

None yet

1 participant