You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Week_9/Homework_01_CamelPresentFactory/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -65,10 +65,10 @@ Now everything is together to run the present factory in the desert. Implement t
65
65
66
66
- Pass this list to the present selection algorithm, together with the delivery camels' capacity (passed as the 2nd and 1st argument to `run_desert_factory`).
67
67
68
-
```Ocaml
69
-
type selection_alg = (string * int * int) list -> int -> string list
70
-
```
71
-
68
+
```Ocaml
69
+
type selection_alg = (string * int * int) list -> int -> string list
70
+
```
71
+
72
72
- Write the selected presents to the file **"presents/**$name$**.txt"** one per line.
73
73
74
74
Errors are handled in the following way: If a child's wish list is invalid, that child is simply ignored and everyone else still has to get their presents! All other exceptions are not handled inside `run_desert_factory`.
0 commit comments