aboutsummaryrefslogtreecommitdiff
path: root/src/tac2stdlib.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-09-05 01:29:21 +0200
committerPierre-Marie Pédrot2017-09-05 01:29:47 +0200
commit4a8399e62dd4bdf5876e714910dd2c7cb433dfda (patch)
tree13b62ff5c9751f39daf7eb38f3ea21d20e47d961 /src/tac2stdlib.ml
parent9a3853fe872e200ed1b34319f6ff0f85a171a434 (diff)
Typeclasses_eauto strategy is now optional.
Diffstat (limited to 'src/tac2stdlib.ml')
-rw-r--r--src/tac2stdlib.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tac2stdlib.ml b/src/tac2stdlib.ml
index b64aac3559..a0eb0d60e5 100644
--- a/src/tac2stdlib.ml
+++ b/src/tac2stdlib.ml
@@ -666,7 +666,7 @@ let () = define_prim4 "tac_newauto" begin fun bt dbg n lems dbs ->
end
let () = define_prim3 "tac_typeclasses_eauto" begin fun bt str n dbs ->
- let str = to_strategy str in
+ let str = Value.to_option to_strategy str in
let n = Value.to_option Value.to_int n in
let dbs = Value.to_option (fun l -> Value.to_list Value.to_ident l) dbs in
Tac2tactics.typeclasses_eauto str n dbs