Added ex 45 optionals
(And secretly added the patches/ dir. Don't tell anybody!)
This commit is contained in:
parent
c9739f8000
commit
acaf051e4c
5 changed files with 74 additions and 0 deletions
4
patches/45_optionals.patch
Normal file
4
patches/45_optionals.patch
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
32c32
|
||||
< var answer: u8 = result;
|
||||
---
|
||||
> var answer: u8 = result orelse 42;
|
||||
9
patches/README.md
Normal file
9
patches/README.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# The ziglings/patches Directory
|
||||
|
||||
This is how ziglings is tested.
|
||||
|
||||
The patches fix the broken exercises so that they work again.
|
||||
|
||||
No peeking! :-)
|
||||
|
||||
(Further tooling and explanation goes here.)
|
||||
Loading…
Add table
Add a link
Reference in a new issue