You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the simplified pattern selection algorithm in the spec (#898) (#1080)
* Implement the simplified pattern selection algorithm in the spec (#898)
Implement Mark Davis's suggested pattern selection algorithm in the spec.
Update the "resolved values" example to use the `match()` and
`compare()` methods instead of `selectKeys()`.
Rewrite the numeric and `:string` selector specs accordingly.
* Use sentence case for SelectorsMatch and SelectorsCompare
* Make notation for match/compare consistent
* Add missing `let`s
* Rephrase to use early return
* Move pattern selection examples to an appendix
* Fix internal link
* Fix method names in examples
* Fix assertions; fix method names in function specs
* Replace references to selectKeys with match/compare
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Replace assertions with prose
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Rewrite 'Operations on Resolved Values' section
* Fix markup
* Move examples to appendices.md
* Add NormalizeKey operation; clean up markup errors that I missed earlier
* Update spec for :test:select function
* Rename Compare to BetterThan and make it and SelectorsCompare return a boolean
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update examples for spec changes
* Fix typo
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
* Update spec/formatting.md
Co-authored-by: Eemeli Aro <[email protected]>
---------
Co-authored-by: Eemeli Aro <[email protected]>
0 commit comments