aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorDave Gauer <[email protected]>2021-05-06 20:32:36 -0400
committerDave Gauer <[email protected]>2021-05-06 20:32:36 -0400
commite9547cf808e08331aa476b8b7c66fa23fc2d7ee5 (patch)
tree3382c9e4ad2c6f42b44b3232fd5d035fc03271bf /patches
parentc1371f5659e78b7ae27d554c311cc658da6a8252 (diff)
downloadziglings-e9547cf808e08331aa476b8b7c66fa23fc2d7ee5.tar.xz
ziglings-e9547cf808e08331aa476b8b7c66fa23fc2d7ee5.zip
add ex076 sentinels
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/076_sentinels.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/patches/patches/076_sentinels.patch b/patches/patches/076_sentinels.patch
new file mode 100644
index 0000000..52a5424
--- /dev/null
+++ b/patches/patches/076_sentinels.patch
@@ -0,0 +1,8 @@
+82c82
+< for (???) |s| {
+---
+> for (my_seq) |s| {
+94c94
+< while (??? != my_sentinel) {
+---
+> while (my_seq[i] != my_sentinel) {