From 6c0f59905544e1413316784a8141c1a126ea7bf9 Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 18 Oct 2006 09:54:17 +0000 Subject: compiling examples for doc started --- examples/compiling/Compex.gf | 4 ++++ examples/compiling/CompexEng.gf | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 examples/compiling/Compex.gf create mode 100644 examples/compiling/CompexEng.gf (limited to 'examples/compiling') diff --git a/examples/compiling/Compex.gf b/examples/compiling/Compex.gf new file mode 100644 index 000000000..06327c789 --- /dev/null +++ b/examples/compiling/Compex.gf @@ -0,0 +1,4 @@ +abstract Compex = { + cat Prop ; Ind ; + fun Even : Ind -> Prop ; +} diff --git a/examples/compiling/CompexEng.gf b/examples/compiling/CompexEng.gf new file mode 100644 index 000000000..10b0babdc --- /dev/null +++ b/examples/compiling/CompexEng.gf @@ -0,0 +1,8 @@ +concrete CompexEng of Compex = open MathematicalEng, ParadigmsEng, Prelude in { + lincat + Prop = {s : Bool => Str} ; + Ind = NP ; + lin + Even : Ind -> Prop ; + +} -- cgit v1.2.3