fix(library/init/data/int): add to_string instance for integers

This commit is contained in:
Gabriel Ebner 2017-06-19 14:30:58 +02:00
parent 981f439de5
commit 82bb37422d

View file

@ -31,6 +31,9 @@ protected def int.repr : int → string
instance : has_repr int :=
⟨int.repr⟩
instance : has_to_string int :=
⟨int.repr⟩
namespace int
protected lemma coe_nat_eq (n : ) : ↑n = int.of_nat n := rfl