From 76ba03b545600054176612201de78dca16eb65e1 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 22 Nov 2010 12:55:37 +0000 Subject: started a subdir for the book --- book/examples/chapter4/ComputersEng.gf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 book/examples/chapter4/ComputersEng.gf (limited to 'book/examples/chapter4/ComputersEng.gf') diff --git a/book/examples/chapter4/ComputersEng.gf b/book/examples/chapter4/ComputersEng.gf new file mode 100644 index 000000000..c902be7a7 --- /dev/null +++ b/book/examples/chapter4/ComputersEng.gf @@ -0,0 +1,10 @@ +--# -path=.:present + +concrete ComputersEng of Computers = CommentsEng ** + open SyntaxEng, ParadigmsEng in { + lin + Computer = mkCN (mkN "computer") ; + HardDisk = mkCN (mkA "hard") (mkN "disk") ; + Efficient = mkAP (mkA "efficient") ; + Slow = mkAP (mkA "slow") ; +} -- cgit v1.2.3