summaryrefslogtreecommitdiff
path: root/chapter25/docs/examples
diff options
context:
space:
mode:
Diffstat (limited to 'chapter25/docs/examples')
-rw-r--r--chapter25/docs/examples/BubbleSort.smp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter25/docs/examples/BubbleSort.smp b/chapter25/docs/examples/BubbleSort.smp
index ef92c29e..1b3b83e6 100644
--- a/chapter25/docs/examples/BubbleSort.smp
+++ b/chapter25/docs/examples/BubbleSort.smp
@@ -5,7 +5,7 @@
// Bubble sort, with reading (parsing) and writing (formatting) the data.
val sort = { sys.aryi64 nums ->
- var more = nums;
+ sys.aryi64?! more = nums;
while( more ) {
more = null;
for( var i = 0; i < nums.len-1; i++ )