Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Construct
FilterDirective
where possible, to enable filtering.
When a directive is constructed via `when ... orElse` or `Directive#orElse`, we can filter a successful result and fall back to the orElse directive. This allows for ad-hoc extention of directive requirements in the `if` clause of a for expression. Added a demonstration to DirectiveSpec.
- Loading branch information
Nathan Hamblen
committed
Sep 8, 2014
1 parent
ca98438
commit 9ed6a7f
Showing
3 changed files
with
44 additions
and
7 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
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