Skip to content
Snippets Groups Projects
Commit fb289f0b authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Merge branch 'robbert/pretty_hint_mode' into 'master'

Set `Hint Mode` for `pretty`.

See merge request !201
parents 6385b547 846cb082
No related branches found
No related tags found
1 merge request!201Set `Hint Mode` for `pretty`.
Pipeline #37348 passed
...@@ -228,6 +228,7 @@ Changes: ...@@ -228,6 +228,7 @@ Changes:
- Use `disj_union` (notation `⊎`) for disjoint union on multisets (that adds the - Use `disj_union` (notation `⊎`) for disjoint union on multisets (that adds the
multiplicities). Repurpose `∪` on multisets for the actual union (that takes multiplicities). Repurpose `∪` on multisets for the actual union (that takes
the max of the multiplicities). the max of the multiplicities).
- Set `Hint Mode` for `pretty`.
Naming: Naming:
......
...@@ -4,6 +4,7 @@ From Coq Require Import Ascii. ...@@ -4,6 +4,7 @@ From Coq Require Import Ascii.
From stdpp Require Import options. From stdpp Require Import options.
Class Pretty A := pretty : A string. Class Pretty A := pretty : A string.
Hint Mode Pretty ! : typeclass_instances.
Definition pretty_N_char (x : N) : ascii := Definition pretty_N_char (x : N) : ascii :=
match x with match x with
......
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