added append;
authorwenzelm
Wed, 29 Apr 1998 11:25:26 +0200
changeset 4851 cbbc53963aaa
parent 4850 050481f41e28
child 4852 58b5006d36cc
added append;
src/Pure/name_space.ML
--- a/src/Pure/name_space.ML	Wed Apr 29 11:24:58 1998 +0200
+++ b/src/Pure/name_space.ML	Wed Apr 29 11:25:26 1998 +0200
@@ -11,7 +11,8 @@
 
 signature NAME_SPACE =
 sig
-  val separator: string                 (*single char*)
+  val separator: string                 (*single char!*)
+  val append: string -> string -> string
   val unpack: string -> string list
   val pack: string list -> string
   val base: string -> string
@@ -42,6 +43,8 @@
 
 val separator = ".";
 
+fun append name1 name2 = name1 ^ separator ^ name2;
+
 val unpack = space_explode separator;
 val pack = space_implode separator;