Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add function heads for view/set/over to allow pipeline-able versions
Adds additional heads to the main lens functions that allow the order of the lens and data structure arguments to be reversed. This allows users to pass arguments in whichever order they prefer, and it enables better pipeline compatibility for lens operations. I am slightly opposed to the ambiguity that this can create and might prefer distinctly named functions. If this becomes an issue later, this is subject to change.
- Loading branch information
Showing
1 changed file
with
103 additions
and
12 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