Skip to content
Snippets Groups Projects
Commit f2878896 authored by Ralf Jung's avatar Ralf Jung
Browse files

Plain typeclass should not require BiPlainly instance to be inferred

parent b65cf679
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ End plainly_laws. ...@@ -86,7 +86,7 @@ End plainly_laws.
Class Plain `{BiPlainly PROP} (P : PROP) := plain : P P. Class Plain `{BiPlainly PROP} (P : PROP) := plain : P P.
Arguments Plain {_ _} _%I : simpl never. Arguments Plain {_ _} _%I : simpl never.
Arguments plain {_ _} _%I {_}. Arguments plain {_ _} _%I {_}.
Hint Mode Plain + ! ! : typeclass_instances. Hint Mode Plain + - ! : typeclass_instances.
Instance: Params (@Plain) 1. Instance: Params (@Plain) 1.
Definition plainly_if `{!BiPlainly PROP} (p : bool) (P : PROP) : PROP := Definition plainly_if `{!BiPlainly PROP} (p : bool) (P : PROP) : PROP :=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment