[Gd-chatter] r10951 - trunk/documentation/gwydion
hannes at gwydiondylan.org
hannes at gwydiondylan.org
Mon Nov 13 17:32:44 CET 2006
Author: hannes
Date: Mon Nov 13 17:32:41 2006
New Revision: 10951
Modified:
trunk/documentation/gwydion/tutorial.xml
Log:
Bug: minor
*fixed typos in tutorial, patch provided by Johannes Weiner (hnaz)
via #dylan
Modified: trunk/documentation/gwydion/tutorial.xml
==============================================================================
--- trunk/documentation/gwydion/tutorial.xml (original)
+++ trunk/documentation/gwydion/tutorial.xml Mon Nov 13 17:32:41 2006
@@ -674,7 +674,7 @@
<programlisting>
define method sell(car :: <car>, new-owner :: <string>) => ();
if (credit-check(new-owner))
- car.owner = new-owner;
+ car.owner := new-owner;
else
error("Bad credit!");
end;
@@ -793,7 +793,7 @@
</para>
<programlisting>
-define method build-put(string :: <string>) => <function>;
+define method build-put(string :: <string>) => (res :: <function>);
local method string-putter()
puts(string);
end;
@@ -802,7 +802,7 @@
define method print-hello() => ();
let f = build-put("Hello!");
- f(); // print "Hello1"
+ f(); // print "Hello!"
end;
</programlisting>
More information about the chatter
mailing list