summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-01-08Merge branch 'main' into mainChris Boesch
2025-01-08Update exercises/108_labeled_switch.zigchrboesch
Fixed an error in the debug statement and made the text a bit more coherent. Signed-off-by: chrboesch <chrboesch@noreply.codeberg.org>
2025-01-08Update exercises/108_labeled_switch.zigchrboesch
The sentence was slightly unclear Signed-off-by: chrboesch <chrboesch@noreply.codeberg.org>
2025-01-07Fix a typo: we need do we need to -> we need tomikkurogue
Morning delirium does not help when looking at lots of words
2025-01-07Update: Remove the 4th branch in favour of just making that the else branchmikkurogue
Probably easier to not have an "unused" branch that returns the same as the else branch in the example. Signed-off-by: mikkurogue <mikkurogue@noreply.codeberg.org>
2025-01-04Merge pull request 'Fix typo vaild → valid' (#197) from ↵Chris Boesch
zyzzyxdonta/ziglings-exercises:fix-typo-vaild-valid into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/197
2025-01-04Fix typo vaild → validDavid Pape
2025-01-04Update: 108 Labeled switch example to contain default case for exhaustionmikkurogue
Update example text to give clarity on default/exhaustive case. Reasoning: The input for the example will not compile if user would want to test this for the logic of a labeled switch. Due the input not being an exhaustive input but rather "any u8 integer" (for the lack of better terminology) we need to use the else branch to indicate that the default case is handled, in this case by just emulating the '4' branch, but this could return an error.InvalidCaseProvided for example. Signed-off-by: mikkurogue <michael.lindemans@outlook.com>
2024-12-22Merge pull request 'Updated credits' (#192) from readme into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/192
2024-12-22Updated creditsChris Boesch
2024-12-22Updated creditsChris Boesch
2024-11-09Merge pull request 'Minor case-related changes.' (#184) from ↵Chris Boesch
innerviewer/exercises:fix-consistent-naming-106 into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/184
2024-11-09Added patch file.innerviewer
2024-11-09Merge branch 'main' into fix-consistent-naming-106innerviewer
2024-11-08Merge pull request 'Deleted unnecessary pointer.' (#185) from fix-176 into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/185
2024-11-08Deleted unnecessary pointer.Chris Boesch
2024-11-08Merge pull request 'Added SIMD.' (#178) from readme into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/178
2024-11-08Merge branch 'main' into readmeChris Boesch
2024-11-08Merge pull request 'Added missing space after a sentence.' (#182) from ↵Chris Boesch
innerviewer/exercises:fix-typo-105 into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/182
2024-11-08Minor case-related changes.innerviewer
2024-11-07Added missing space after a sentence.innerviewer
2024-11-07Merge pull request 'Fixed link to format source code.' (#180) from ↵Chris Boesch
fix-link-99 into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/180
2024-11-07Fixed link to format source code.Chris Boesch
2024-11-07Added SIMD.Chris Boesch
2024-11-07Merge pull request 'vectors-addition' (#177) from vectors-addition into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/177 Thank you @bgthompson for this great exercise!
2024-11-07Fixed formating, created patch file.Chris Boesch
2024-11-07line ending format patch attemptbgthompson
2024-11-07added patch file for 109_vectorsbgthompson
2024-11-03removed commented solution lines in vectors exercise, added ??? into lines ↵bgthompson
instead
2024-11-03created a new exercise about vectors in zig, gave it number 109bgthompson
2024-11-02Merge pull request 'Improved maximumNarcissism' (#174) from pr173 into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/174
2024-11-02Improved maximumNarcissismChris Boesch
2024-11-02Merge pull request 'reuse fields' (#173) from ↵Chris Boesch
rofrol/ziglings--exercises:reuse-fields into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/173
2024-11-02patchRoman Frołow
2024-11-02zeroRoman Frołow
2024-11-02reuse fieldsRoman Frołow
2024-10-28Merge pull request 'Fixed patch from quiz7 after text changes' (#171) from ↵Chris Boesch
quiz7 into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/171
2024-10-28Fixed patch from quiz7 after text changesChris Boesch
#Please enter the commit message for your changes. Lines starting
2024-10-27Merge pull request 'Rephrase instruction for clarity' (#170) from ↵Chris Boesch
factormystic/exercises:quiz-7-instruction-clarify into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/170
2024-10-26Rephrase instruction for clarityfactormystic
2024-09-20Merge pull request 'Deleted .devcontainer because ist was a test.' (#165) ↵Chris Boesch
from rm_devcont into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/165
2024-09-20Deleted .devcontainer because ist was a test.Chris Boesch
2024-09-20Merge pull request 'Added Dave as initiator of Ziglings.' (#164) from readme ↵Chris Boesch
into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/164
2024-09-20Added Dave as initiator of Ziglings.Chris Boesch
2024-09-20Merge pull request 'Minor improvements.' (#163) from patch_lbl_sw into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/163
2024-09-20Minor improvements.Chris Boesch
2024-09-19Merge pull request 'Add a new exercise for a labeled switch' (#161) from ↵Chris Boesch
nm-remarkable/exercises:main into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/161
2024-09-18update108 .patch due to line changeNuno Mendes
2024-09-18improve explanantions in labeled switchNuno Mendes
2024-09-16downgrade zig version to eowyn versionNuno Mendes
It is just 2 days behind so all features are already present for the new labeled switch test