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

The "Variables" page should describe the constant declarator #1566

Closed
lefth opened this issue Sep 17, 2017 · 1 comment
Closed

The "Variables" page should describe the constant declarator #1566

lefth opened this issue Sep 17, 2017 · 1 comment
Assignees
Labels
docs Documentation issue (primary issue type)

Comments

@lefth
Copy link
Contributor

lefth commented Sep 17, 2017

I could only find constant mentioned on one of the perl 5-to-6 pages, which isn't where the meat of the documentation lives. When it's described, it would be helpful to list the non-obvious differences between constant and my or our. For example, constant variables can't have a type constraint.

@coke coke added the docs Documentation issue (primary issue type) label Jan 17, 2018
@JJ JJ self-assigned this Apr 14, 2018
@JJ
Copy link
Contributor

JJ commented Apr 14, 2018

In fact, constant is used in several examples.

@JJ JJ removed the JJ TPF Grant label May 14, 2018
JJ added a commit that referenced this issue Jul 28, 2018
It actually started with #1566, trying to improve the description of
constants. However, while I was at it, I noticed references to
Synopsis, so I changed a few of them working on #2225.
This also fixes #2226 and, in fact, has generated rakudo/rakudo#2141
for a command line flag that was referenced here and was actually
working on Perl 6 (undocumented). Of course, there was a bit of #2223
and a bit of reflow.

I guess now it's back to work on #1566 or maybe #2225.
@JJ JJ closed this as completed in 737c6eb Jul 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue (primary issue type)
Projects
None yet
Development

No branches or pull requests

3 participants