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
|
||||
Author: Leonardo de Moura
|
||||
-/
|
||||
|
||||
import data.bool
|
||||
open bool inhabited
|
||||
open bool
|
||||
|
||||
namespace char
|
||||
protected definition is_inhabited [instance] : inhabited char :=
|
||||
inhabited.mk (mk ff ff ff ff ff ff ff ff)
|
||||
end char
|
||||
protected definition char.is_inhabited [instance] : inhabited char :=
|
||||
inhabited.mk (char.mk ff ff ff ff ff ff ff ff)
|
||||
|
||||
namespace string
|
||||
protected definition is_inhabited [instance] : inhabited string :=
|
||||
inhabited.mk empty
|
||||
end string
|
||||
protected definition string.is_inhabited [instance] : inhabited string :=
|
||||
inhabited.mk string.empty
|
||||
|
|
Loading…
Reference in a new issue