-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename
Pattern
to Program
and Combine
to Pattern
.
This change renames the `Pattern` and `Combine` traits. The `Combine` trait is used in `any` APIs, but it does not principally concern combinators. Note too that `Pattern: Combine`. `Combine` broadly describes pattern representations and, more specifically, types that can be converted into a checked token tree. `Pattern` is more specific, and describes _compiled_ pattern representations that can be matched against paths. As such, `Combine` is now `Pattern` and `Pattern` is now `Program`. This actually makes `any` APIs less confusing, as they accept `Pattern`s, whatever there form may be. This change also alters the nomenclature in documentation and the conceptualization of `Combine`.
- Loading branch information
1 parent
76afaa1
commit b1346f1
Showing
6 changed files
with
139 additions
and
136 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.