Skip to content

Commit 2dd2adf

Browse files
Add pointers, range-iteration and functions prerequisites to exercises (#1778)
1 parent 78aaaca commit 2dd2adf

File tree

4 files changed

+35
-9
lines changed

4 files changed

+35
-9
lines changed

config.json

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151
"conditionals-if",
152152
"numbers",
153153
"strings",
154-
"conditionals-switch"
154+
"conditionals-switch",
155+
"functions"
155156
],
156157
"status": "beta"
157158
},
@@ -194,7 +195,8 @@
194195
"prerequisites": [
195196
"structs",
196197
"string-formatting",
197-
"type-definitions"
198+
"type-definitions",
199+
"pointers"
198200
],
199201
"status": "beta"
200202
},
@@ -234,7 +236,11 @@
234236
"runes"
235237
],
236238
"prerequisites": [
237-
"slices"
239+
"strings",
240+
"conditionals-if",
241+
"slices",
242+
"maps",
243+
"range-iteration"
238244
],
239245
"status": "beta"
240246
},
@@ -283,10 +289,19 @@
283289
"concepts": [
284290
"zero-values"
285291
],
286-
"prerequisites": [ "maps", "structs", "numbers", "string-formatting", "booleans", "methods", "slices", "conditionals-if" ],
292+
"prerequisites": [
293+
"maps",
294+
"structs",
295+
"numbers",
296+
"string-formatting",
297+
"booleans",
298+
"methods",
299+
"slices",
300+
"conditionals-if",
301+
"pointers"
302+
],
287303
"status": "beta"
288304
},
289-
290305
{
291306
"name": "Welcome To Tech Palace!",
292307
"slug": "welcome-to-tech-palace",

exercises/concept/census/.meta/design.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ The goal of this exercise is to teach the student about the zero value of Go's t
2222

2323
## Prerequisites
2424

25-
- `types`
25+
- `maps`
26+
- `structs`
27+
- `numbers`
28+
- `string-formatting`
29+
- `booleans`
30+
- `methods`
31+
- `slices`
32+
- `conditionals-if`
33+
- `pointers`
2634

2735
## Representer
2836

exercises/concept/gross-store/.meta/design.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ The goal is to introduce the student to maps.
2323

2424
## Prerequisites
2525

26-
- `basics`
27-
- `numbers`
2826
- `conditionals-if`
27+
- `numbers`
28+
- `strings`
29+
- `conditionals-switch`
30+
- `functions`
2931

3032
## Representer
3133

exercises/concept/logs-logs-logs/.meta/design.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ The goal of this exercise is to teach the student about runes.
1818

1919
## Prerequisites
2020

21+
- `strings`
2122
- `conditionals-if`
23+
- `slices`
2224
- `maps`
2325
- `range-iteration`
24-
- `strings`
2526

2627
## Analyzer
2728

0 commit comments

Comments
 (0)