Comments (3)
Nobody has commented yet, can anybody weigh in? @perl6/perl6
If no objections I would like to update the spec and add some tests into roast for this.
from old-design-docs.
To be honest, I'm not sure I understand what is going to happen after this change.
I think the only useful one of these we might want to keep would be the uniprop-bool function, which could be used to check the absence of a property.
Can't we have something that is more consistent with the rest of the language? For example, uniprop
can return an undefined value in case of the absence of a property. Or we can add :exists
or something like this.
from old-design-docs.
Well, just :exists
is pretty vague when you want to return whether or not the property is True or False. Could be other wording, but there should be an easy way to check if
'a'.uniprop('Numerical_Type') #> None
'a'.uniprop-bool('Numerical_Type') #> False
All the different enumerated properties have mostly different values for codes without the property OR which have been explicitly specified as having that value.
:exists
, well that codepoint does have said property, and returning undefined for standard uniprop would not be correct.
from old-design-docs.
Related Issues (20)
- In Synopsis S05 <sp> should probably be updated to <space>
- S07: `@a.push: @b` pushes one, not @b.elems values HOT 6
- Should colons be allowed in method names? HOT 7
- Shorthand Notation for Private Method Calls HOT 1
- Multiple same-named arguments
- Add warning noting these are now historical documents
- Documentation for &infix:<andthen> versus "with" is incorrect
- S05: backslash+<alpha> in regexes should never be literal. HOT 2
- sprintf needs clarification
- Numbered list/head in Pod (S26) HOT 8
- <:Foo> syntax in regexes ambiguous HOT 5
- 29-os/system.t fails when no perl6 is installed HOT 1
- Website is down
- S02: ordering of hash entries in the .perl method HOT 4
- Do we want quotemeta or not?
- t/spec/S32-str/sameaccent.t HOT 1
- S03: 42 x *, 42 xx *, 42 x Inf, 42 xx Inf
- Multiple ws rules HOT 3
- $() and $( ) should be the same thing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from old-design-docs.