diff options
Diffstat (limited to 'book/examples/chapter4/ComputersEng.gf')
| -rw-r--r-- | book/examples/chapter4/ComputersEng.gf | 10 |
1 files changed, 10 insertions, 0 deletions
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") ; +} |
