diff options
| author | aarne <aarne@chalmers.se> | 2010-11-22 15:48:52 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-11-22 15:48:52 +0000 |
| commit | 67176f1520d8ac68a00b5266092fcd31a82f4bd8 (patch) | |
| tree | 6309b8ccfedb458fec7f9772e01b496975e0389f /book/examples/chapter7/Map.gf | |
| parent | 76ba03b545600054176612201de78dca16eb65e1 (diff) | |
completed book examples
Diffstat (limited to 'book/examples/chapter7/Map.gf')
| -rw-r--r-- | book/examples/chapter7/Map.gf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/book/examples/chapter7/Map.gf b/book/examples/chapter7/Map.gf new file mode 100644 index 000000000..52deebb87 --- /dev/null +++ b/book/examples/chapter7/Map.gf @@ -0,0 +1,10 @@ +abstract Map = { +flags startcat = Query ; +cat + Query ; Input ; Place ; Click ; +fun + GoFromTo : Place -> Place -> Input ; + ThisPlace : Click -> Place ; + QueryInput : Input -> Query ; + ClickCoord : Int -> Int -> Click ; +} |
