2014-07-27 02:13:04 +00:00
|
|
|
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
|
|
|
-- Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
-- Author: Leonardo de Moura
|
|
|
|
import bool
|
|
|
|
|
|
|
|
namespace string
|
|
|
|
inductive char : Type :=
|
|
|
|
| ascii : bool → bool → bool → bool → bool → bool → bool → bool → char
|
|
|
|
|
|
|
|
inductive string : Type :=
|
|
|
|
| empty : string
|
|
|
|
| str : char → string → string
|
2014-08-07 23:59:08 +00:00
|
|
|
end string
|