aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-05-06 20:32:36 -0400
committerDave Gauer <dave@ratfactor.com>2021-05-06 20:32:36 -0400
commit88f88f02d8a4549584720e86c634d71959db5990 (patch)
tree3382c9e4ad2c6f42b44b3232fd5d035fc03271bf /patches
parent6ae7a4496ff30de9cf406806f049e8d9e6736990 (diff)
downloadziglings-88f88f02d8a4549584720e86c634d71959db5990.tar.gz
ziglings-88f88f02d8a4549584720e86c634d71959db5990.tar.bz2
ziglings-88f88f02d8a4549584720e86c634d71959db5990.tar.xz
ziglings-88f88f02d8a4549584720e86c634d71959db5990.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) {