Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
don't include positional names in API
As suggested by masak++ and jnthn++, remove the names of positionals
from the public API.
In its place, substitute the more useful ability to treat positionals
as if they were named by the use of *numeric* keys. That is, move the
ability to name positionals out of the binder and into the coercion
from hash to capture. This answers the three objections to named positionals:
* The positions of the positionals are already part of the public API.
* This has no run-time overhead (unless you force this coercion to happen
at run time, using prefix:<|> for instance).
* People will use this because many external formats do not support captures.- Loading branch information
Showing
1 changed file
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters