Commit graph

196 commits

Author SHA1 Message Date
InKryption
ec356407f1
Revert syntax demo, add note
So as to not overwhelm the reader with syntax that is unseen up to this point, use the original demonstration, but add an explanatory note hinting that there is more to the semantics of string literals than shown.
2022-02-22 02:21:22 +01:00
InKryption
2699a3c21d
Update information to be accurate to the semantics of string literals 2022-02-20 19:24:36 +01:00
Roman Frołow
a30279ccf3
add spaces 2022-02-11 10:40:22 +00:00
Dave Gauer
0efa4c1242
Merge pull request #88 from adamu/const
use const for variables that are never modified
2022-01-06 18:08:43 -05:00
Adam Millerchip
669d4f7337 use const for variables that are never modified 2022-01-01 02:20:26 +09:00
Kim SHrier
269da612cb remove redundant word "a" 2021-12-25 15:21:33 -07:00
Arnavion
404eca30d1 Fix typo in comment in 058_quiz7.zig 2021-12-01 02:44:49 -08:00
Paul Sorensen
8026785e0b
Update 034_quiz4.zig
Closes #76 By making comment more clear
2021-11-10 11:30:37 -05:00
Dave Gauer
10a0cda136 Adding note to the monster 058 for the unwary 2021-11-07 21:16:46 -05:00
Dave Gauer
d1e6841261 Merge branch 'main' of github.com:ratfactor/ziglings into main 2021-11-07 20:52:39 -05:00
Dave Gauer
8ff0cf67e1 Added ex91 - closing in on async! 2021-11-07 20:51:33 -05:00
Jonathan Halmen
f6de68a1f2 zig fmt 2021-11-05 17:47:12 +01:00
Jonathan Halmen
88886a37d9 fix whitespace line-endings 2021-11-05 17:46:56 +01:00
Dave Gauer
4147a9a39b Removed confusing explanation from 076 2021-10-18 19:04:12 -04:00
Georgy Trush
ad8de595a4 Fix exercises 058 and 081 🔧 2021-09-04 19:00:03 +03:00
Francisco Demartino
ab5b2abbc2
fix typo in 076 (sentinal -> sentinel) 2021-09-03 17:08:43 -03:00
Dave Gauer
79b92d15b8
Update 052_slices.zig 2021-08-30 17:55:32 -04:00
Dave Gauer
63f25f7a73
Update 047_methods.zig 2021-08-30 17:55:10 -04:00
Dave Gauer
9fe3bb7665
Update 037_structs.zig 2021-08-29 08:37:56 -04:00
Dave Gauer
32ff7cf42a
Update 033_iferror.zig 2021-08-28 10:57:51 -04:00
Dave Gauer
84c9c4072c
Update 033_iferror.zig 2021-08-28 10:55:34 -04:00
Dave Gauer
116b355210
Update 024_errors4.zig 2021-08-28 10:35:40 -04:00
Dave Gauer
71fbe3a07b
Update 018_functions.zig 2021-08-28 10:25:03 -04:00
Dave Gauer
a7ba7306f6
Update 018_functions.zig 2021-08-28 10:22:44 -04:00
Dave Gauer
e9a1959bfb
018 awkward wording 2021-08-28 10:20:37 -04:00
Dave Gauer
e36b2973c4
Merge pull request #70 from Palm404/patch-1
fix: Syntax error to fit formatting
2021-08-24 09:28:21 -04:00
Palm
4665489bb7
fix: Syntax error to fit formatting 2021-08-20 15:25:23 -07:00
unknown
ac5f539091 Fix: Fix grammar at 002_std.zig 2021-08-19 08:59:18 -07:00
unknown
4bf560060a fix: Grammar in 018_functions.zig 2021-08-18 09:55:20 -07:00
unknown
be7e925bfc Merge branch 'main' of https://github.com/Palm404/ziglings into main 2021-08-17 00:28:50 -07:00
unknown
2abb37e3a8 feat: More descriptive definition 2021-08-17 00:28:40 -07:00
Palm
a900877e40
fix: Change order to match 011_while.zig 2021-08-17 00:01:55 -07:00
unknown
57186aa56d feat: Add more comparison operator coverage in 009_if.zig 2021-08-16 23:56:10 -07:00
Airbus5717
243df7681d added newline print to make output look nicer 2021-07-21 13:04:52 +03:00
Dave Gauer
613d77b7f8 No unused fn params 2021-06-30 19:59:25 -04:00
Dave Gauer
88c550062d no unusued vars 2021-06-30 19:55:47 -04:00
Dave Gauer
cc5c413cfc methods not namespaced 2021-06-30 19:55:18 -04:00
Dave Gauer
7b37431b6b No unused locals 2021-06-30 19:39:36 -04:00
Dave Gauer
f072562102 no unused method params 2021-06-30 19:28:27 -04:00
Dave Gauer
14f9325408 methods NOT namespaced like i expected 2021-06-30 19:18:13 -04:00
Dave Gauer
680e2913f7 unused consts now errors 2021-06-30 19:00:50 -04:00
Dave Gauer
584993b7b8 Must use capture value 2021-06-30 17:56:42 -04:00
Dave Gauer
da219d3c40 added ub exploration to ex090 2021-06-15 10:12:57 -04:00
Dave Gauer
8dd9c1ddcb add ex090 async 7 2021-06-14 15:39:49 -04:00
Dave Gauer
52c424a247
Merge pull request #59 from max-lv/main
fix typo in 067_comptime2.zig
2021-06-14 13:00:58 -04:00
Dave Gauer
621d72db56 New usize explanation 008, etc. 2021-06-14 11:26:04 -04:00
Dave Gauer
e2e2c6280e
Merge pull request #58 from ZapAnton/008_replace_index_var_type
008_quiz: Replaced the type of the index variable
2021-06-14 10:43:07 -04:00
max-lv
c127877baf fix typo in 067_comptime2.zig 2021-06-12 21:15:19 -01:00
ZapAnton
447b913c38 008_quiz: Replaced the type of the index variable
Replaced the type of the `x` variable to `usize` instead of `u8`.
2021-05-28 21:46:08 +03:00
ZapAnton
8185043b26 066_comptime: Typo fix
Small typo fix `arbitary` -> `arbitrary`
2021-05-28 21:39:21 +03:00