diff options
| author | Emilio Jesus Gallego Arias | 2018-11-27 15:10:27 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-11-27 15:10:27 +0100 |
| commit | 39bf8df76fc1093f3efa672284421c884319c89d (patch) | |
| tree | 01500fc77fb130296ad52aaf8aede0872da923c0 /proofs/redexpr.ml | |
| parent | 0a699c7c932352f38c14f1bdf33ee7955241c1d8 (diff) | |
| parent | 74038abdd41161a4c4b1eba5dbbd83f5c0301bf3 (diff) | |
Merge PR #9046: Goptions.declare_* functions return unit instead of a write_function
Diffstat (limited to 'proofs/redexpr.ml')
| -rw-r--r-- | proofs/redexpr.ml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/proofs/redexpr.ml b/proofs/redexpr.ml index 0981584bb5..6658c37f41 100644 --- a/proofs/redexpr.ml +++ b/proofs/redexpr.ml @@ -54,14 +54,14 @@ let strong_cbn flags = strong_with_flags whd_cbn flags let simplIsCbn = ref (false) -let _ = Goptions.declare_bool_option { - Goptions.optdepr = false; - Goptions.optname = +let () = Goptions.(declare_bool_option { + optdepr = false; + optname = "Plug the simpl tactic to the new cbn mechanism"; - Goptions.optkey = ["SimplIsCbn"]; - Goptions.optread = (fun () -> !simplIsCbn); - Goptions.optwrite = (fun a -> simplIsCbn:=a); -} + optkey = ["SimplIsCbn"]; + optread = (fun () -> !simplIsCbn); + optwrite = (fun a -> simplIsCbn:=a); +}) let set_strategy_one ref l = let k = |
