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
&emit and &done undocumented #1032
Comments
Presumably the same applies to |
They are normal subroutines that throw control exceptions, just like |
yeah I realised that after I looked at the souce, however if they are documented as being standalone subroutines then there will need to be a load of boilerplate explaining how they only work in a certain context, so to avoid that it might be better to treat them as if they were special syntactical items (in my mind at least.) |
Wouldn't it be just a single sentence? Just like with |
Where would that go? |
Maybe somewhere on https://docs.perl6.org/language/functions? |
We need to fix this "not documented" thing using code... Maybe create a test or something. They stay open for ever, even when they are fixed. |
Functions would not be a good place. It's mainly devoted to functional programming. So I'm starting a brand new page, This will help #2059 too. |
|
The subroutine
emit
doesn't seem to be documented. Only methods on various classes listed in https://docs.perl6.org/routine/emitThe text was updated successfully, but these errors were encountered: