refactor(library/data/string): put is_inhabited theorems on the toplevel
This commit is contained in:
parent
f053330755
commit
08a7997a97
1 changed files with 5 additions and 10 deletions
|
@ -5,16 +5,11 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
||||||
Module: data.string
|
Module: data.string
|
||||||
Author: Leonardo de Moura
|
Author: Leonardo de Moura
|
||||||
-/
|
-/
|
||||||
|
|
||||||
import data.bool
|
import data.bool
|
||||||
open bool inhabited
|
open bool
|
||||||
|
|
||||||
namespace char
|
protected definition char.is_inhabited [instance] : inhabited char :=
|
||||||
protected definition is_inhabited [instance] : inhabited char :=
|
inhabited.mk (char.mk ff ff ff ff ff ff ff ff)
|
||||||
inhabited.mk (mk ff ff ff ff ff ff ff ff)
|
|
||||||
end char
|
|
||||||
|
|
||||||
namespace string
|
protected definition string.is_inhabited [instance] : inhabited string :=
|
||||||
protected definition is_inhabited [instance] : inhabited string :=
|
inhabited.mk string.empty
|
||||||
inhabited.mk empty
|
|
||||||
end string
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue