Skip to content

Commit 2821b93

Browse files
committed
Week9
1 parent 7afef92 commit 2821b93

File tree

1 file changed

+4
-4
lines changed
  • Week_9/Homework_01_CamelPresentFactory

1 file changed

+4
-4
lines changed

Week_9/Homework_01_CamelPresentFactory/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ Now everything is together to run the present factory in the desert. Implement t
6565

6666
- 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`).
6767

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+
7272
- Write the selected presents to the file **"presents/**$name$**.txt"** one per line.
7373

7474
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

Comments
 (0)