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

Epic syntax idea: #3

Open
chop0 opened this issue Dec 16, 2020 · 1 comment
Open

Epic syntax idea: #3

chop0 opened this issue Dec 16, 2020 · 1 comment

Comments

@chop0
Copy link
Collaborator

chop0 commented Dec 16, 2020

Epic syntax idea:
>> means return

Example (using kotlin syntax but with the return idea)

fun addThree(x: Int): Int {
    >> x + 3
}

Originally posted by @ky28059 in #2 (comment)

@SheepTester
Copy link
Member

Why not the other way, << so that it's like piping the value out of the function

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

No branches or pull requests

2 participants