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

Document Add construct #45

Open
thoni56 opened this issue Jun 29, 2019 · 1 comment
Open

Document Add construct #45

thoni56 opened this issue Jun 29, 2019 · 1 comment
Labels
📖 Alan Manual Issues relating to "The Alan Language Manual" 🕑 pending implementation Approved changes waiting to be implemented 🕑 TBD contents To Be Done: pending contents work ⚠️ important Priority: High

Comments

@thoni56
Copy link
Contributor

thoni56 commented Jun 29, 2019

In a mail conversation in [alan-if] Tristano asked about how Add works and how you can use that wrt. inheritance. Here are some highlights

  • the manual indicates that you can Add , you probably cannot and possibly also should not
  • there is no explanation was Add actually does, it should at least say something like "adding like as if you had written that in the class declaration directly, and adds in the same way as inheriting does"
  • possibly give an example that explains that the clauses in the Add construct is just as if you had written them on the class
  • describe that you can test for the Container property using "IsA"
@tajmone tajmone added 📖 Alan Manual Issues relating to "The Alan Language Manual" 🕑 pending implementation Approved changes waiting to be implemented labels Jun 30, 2019
@tajmone tajmone added this to the Alan Beta7 milestone Jun 30, 2019
@tajmone
Copy link
Collaborator

tajmone commented Aug 7, 2019

I've removed the [inheritance] part from the BNF rule (commit fb899b9 in beta7_prep branch), which was the source of confusion mentioned in the Yahoo discussion — I hope I did the right thing by editing the BNF, based on what you said in the Yahoo thread:

The gist of the situation is then that it is in the documentation and in the grammar, but not implemented. Best route forward is probably to get the docs in par with reality.

See my Issue #46 for the details.

@tajmone tajmone added the 🕑 TBD contents To Be Done: pending contents work label Aug 8, 2019
@tajmone tajmone mentioned this issue Sep 1, 2019
2 tasks
@tajmone tajmone added the ⚠️ important Priority: High label Sep 23, 2021
@tajmone tajmone pinned this issue Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 Alan Manual Issues relating to "The Alan Language Manual" 🕑 pending implementation Approved changes waiting to be implemented 🕑 TBD contents To Be Done: pending contents work ⚠️ important Priority: High
Projects
None yet
Development

No branches or pull requests

2 participants