Skip to content
Snippets Groups Projects

Better use of modules / less global polution for strings

Merged Robbert Krebbers requested to merge robbert/string_notation into master
All threads resolved!
Files
8
+ 1
1
@@ -113,7 +113,7 @@ Proof. apply _. Qed.
Global Instance pretty_Z : Pretty Z := λ x,
match x with
| Z0 => "0" | Zpos x => pretty x | Zneg x => "-" +:+ pretty x
end%string.
end.
Global Instance pretty_Z_inj : Inj (=@{Z}) (=) pretty.
Proof.
unfold pretty, pretty_Z.
Loading