-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CCFormat(feat): add option and result, change opt
Add CCFormat.option and CCFormat.result as aliases to Format.pp_print_option and Format.pp_print_result. Make CCFormat.opt an alias of CCFormat.option, as such this add an optional argument to print the case "None" but change the default behaviour. Previously, it as printing "some _" or "none" now it print something only in the case of "Some x" and just "x".
- Loading branch information
Showing
2 changed files
with
13 additions
and
9 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