aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/09-var/src/HelloWorld.shed2
-rw-r--r--examples/10-while/src/Counting.shed2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/09-var/src/HelloWorld.shed b/examples/09-var/src/HelloWorld.shed
index ff8c1041..22f8a4ca 100644
--- a/examples/09-var/src/HelloWorld.shed
+++ b/examples/09-var/src/HelloWorld.shed
@@ -1,5 +1,5 @@
fun main() ! Io -> Unit {
var message = "hello, ";
- assign message := message + "world\n";
+ assign message = message + "world\n";
print!(message);
}
diff --git a/examples/10-while/src/Counting.shed b/examples/10-while/src/Counting.shed
index 8275fa0c..81d637a2 100644
--- a/examples/10-while/src/Counting.shed
+++ b/examples/10-while/src/Counting.shed
@@ -13,6 +13,6 @@ fun main() ! Io -> Unit {
while (count != 4) {
print!(message(count));
- assign count := count + 1;
+ assign count = count + 1;
}
}