aboutsummaryrefslogtreecommitdiff
path: root/exercises
AgeCommit message (Collapse)Author
2021-02-28Change default elephant tail to null (#25)Dave Gauer
It was confusing to see tail... = undefined in the struct definition and then if (tail == null) later in the exercise - it appears that the mismatch would be the issue - but that's distracting from the real issue: making the value optional! Changing the initial value to null is still correct, but won't distract. The only worry now is that the user will remember the undefined definition from the previous exercise and wonder if that has to be that way...but you can't win them all!
2021-02-27Add ex 47: methodsDave Gauer
2021-02-26Fixed a typo #26Vishal Sodani
2021-02-26Fixed a typo #26Vishal Sodani
2021-02-16Added ex. 46 optionals 2 - elephants!Dave Gauer
2021-02-16Merge pull request #24 from mz0/fix06Dave Gauer
fix repeat target
2021-02-16fix repeat targetMark Zhitomirski
2021-02-16Fixed spellingVishal Sodani
2021-02-15Apply `zig fmt` to exercisesWill Clardy
2021-02-15Manually apply `zig fmt` style to commentsWill Clardy
2021-02-15Merge pull request #20 from quexxon/exercise_12_fixesDave Gauer
Exercise 12 fixes
2021-02-15Replace unclosed opening paren with dashWill Clardy
2021-02-15Add missing opening braces in while statementsWill Clardy
2021-02-14Fix Ex.19 typo (#19)Dave Gauer
Oh, look at that, issue 19 is about exercise 19. Today's lucky number is 19. Time to buy a lottery ticket.
2021-02-1403 assignment - var to const in example for clarityDave Gauer
2021-02-14Merge branch 'main' of github.com:ratfactor/ziglings into mainDave Gauer
2021-02-14Added ex 45 optionalsDave Gauer
(And secretly added the patches/ dir. Don't tell anybody!)
2021-02-14begone ye errant spaceDave Gauer
2021-02-14Fix typo: out => ourWill Clardy
2021-02-14Merge pull request #10 from tijb/patch-1Dave Gauer
Update 03_assignment.zig | Missing Line In Example
2021-02-13Update 03_assignment.zigtim bangma
2021-02-1404_arrays.zig - missing : for type of example arrayIvan-Velickovic
2021-02-13Merge branch 'main' of github.com:ratfactor/ziglings into mainDave Gauer
2021-02-13ex10 - missing type was confusing and tangential (#12)Dave Gauer
2021-02-12Update 04_arrays.zigtim bangma
array index was off by 1.
2021-02-12Update 03_assignment.zigtim bangma
Looks like one of the example lines was missing.
2021-02-12exercise/25 fix typoPalash Nigam
2021-02-12exercise/21: fix typoPalash Nigam
2021-02-10Added string specifier in format strings (#3)Dave Gauer
This is now required in current versions of Zig.
2021-02-10Merge pull request #3 from Joefish/06_print_specifierDave Gauer
Added string specifier in Ex 06
2021-02-10Merge branch 'main' of github.com:ratfactor/ziglings into mainDave Gauer
2021-02-10Removed incorrect explanation of assignment error (#1)Dave Gauer
It really has nothing to do with the if/else expression. The peer types are being resolved correctly. The same error can be produced with something as simple as: var foo = 5;
2021-02-10Added string specifier in Ex 06Joseph-Eugene Winzer
std.fmt.format does not take strings without a string specifier since zig 0.8.0.
2021-02-10Ex 22 spelling errorDave Gauer
I never make mistakes with apostrophes'es', so I dont' know what happened here.
2021-02-10Improved 02 comment about imports being constDave Gauer
2021-02-09Added Quiz 5 for pointers. Elephants!!!Dave Gauer
2021-02-09Moved exercises to exercises because exercisesDave Gauer