Files
gf-core/gf-book/examples/chapter4/ComputersEng.gf
2011-01-11 15:46:43 +00:00

11 lines
279 B
Plaintext

--# -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") ;
}