aboutsummaryrefslogtreecommitdiff
path: root/String.v
diff options
context:
space:
mode:
Diffstat (limited to 'String.v')
-rw-r--r--String.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/String.v b/String.v
new file mode 100644
index 0000000000..3a4a178878
--- /dev/null
+++ b/String.v
@@ -0,0 +1,14 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016 *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+Require Import Coq.ltac2.Init.
+
+Ltac2 @external make : int -> char -> string := "ltac2" "string_make".
+Ltac2 @external length : string -> int := "ltac2" "string_length".
+Ltac2 @external get : string -> int -> char := "ltac2" "string_get".
+Ltac2 @external set : string -> int -> char -> unit := "ltac2" "string_set".