-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: Bring the collections ext in line with other extension defs (
#1469) Refactors the list operations definition so it's easier to add new ones (#1467), and to bring it in line with the other extension definitions. - Make the operation enum variants `camelCase`, to match their op names. This lets us us `strum` to auto-derive all the string conversions. - Implemented `MakeOpDef`, `MakeRegisteredOp`, BREAKING CHANGE: Renamed `ListOp` variants to camelCase. `collections::EXTENSION_NAME` is now called `EXTENSION_ID`.
- Loading branch information
Showing
5 changed files
with
204 additions
and
124 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
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
Oops, something went wrong.