Commit f1e3d5f2 authored by Ralf Jung's avatar Ralf Jung

make as_fractional_fractional a useful instance

parent 3b6bbefa
...@@ -15,7 +15,9 @@ Arguments AsFractional {_} _%I _%I _%Qp. ...@@ -15,7 +15,9 @@ Arguments AsFractional {_} _%I _%I _%Qp.
Arguments fractional {_ _ _} _ _. Arguments fractional {_ _ _} _ _.
Hint Mode AsFractional - + - - : typeclass_instances. Hint Mode AsFractional - + - - : typeclass_instances.
Hint Mode AsFractional - - + + : typeclass_instances. (* To make [as_fractional_fractional] a useful instance, we have to
allow [q] to be an evar. *)
Hint Mode AsFractional - - + - : typeclass_instances.
Section fractional. Section fractional.
Context {PROP : bi}. Context {PROP : bi}.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment