summaryrefslogtreecommitdiff
path: root/gf-book/examples/chapter2/StringsBW.gf
diff options
context:
space:
mode:
Diffstat (limited to 'gf-book/examples/chapter2/StringsBW.gf')
-rw-r--r--gf-book/examples/chapter2/StringsBW.gf5
1 files changed, 5 insertions, 0 deletions
diff --git a/gf-book/examples/chapter2/StringsBW.gf b/gf-book/examples/chapter2/StringsBW.gf
new file mode 100644
index 000000000..8e558d953
--- /dev/null
+++ b/gf-book/examples/chapter2/StringsBW.gf
@@ -0,0 +1,5 @@
+concrete StringsBW of Strings = LettersCnc ** {
+ lincat S = Str ;
+ lin E = [] ;
+ lin C head tail = tail ++ head ;
+}