From 67176f1520d8ac68a00b5266092fcd31a82f4bd8 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 22 Nov 2010 15:48:52 +0000 Subject: completed book examples --- book/examples/chapter7/Map.gf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 book/examples/chapter7/Map.gf (limited to 'book/examples/chapter7/Map.gf') 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 ; +} -- cgit v1.2.3