Skip to content

Commit

Permalink
Update manual.wisl
Browse files Browse the repository at this point in the history
Fixed minor typos in the lab demos.
  • Loading branch information
z5146542 authored Nov 27, 2023
1 parent 500b906 commit c869da2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ function SLL_append_node_iter(x, y){
(#vx == #vs1 @ (#v :: #vs2)) ]];
while(not (next = null)){
prev := next;
next := [next + 1];
next := [next + 1]
};
[prev + 1] := y;
[prev + 1] := y
};
return x
}
Expand All @@ -342,7 +342,7 @@ function SLL_concat_iter(x, y){
prev := next;
next := [next + 1]
};
[prev + 1] := y;
[prev + 1] := y
};
return head
}
Expand Down Expand Up @@ -370,8 +370,8 @@ function SLL_copy_iter(x){
[c] := v;
[p + 1] := c;
p := c;
t := [t + 1];
};
t := [t + 1]
}
};
return y
}
Expand Down

0 comments on commit c869da2

Please sign in to comment.