Skip to content

Commit a4de8dc

Browse files
committed
Week9
1 parent 2821b93 commit a4de8dc

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
@@ -64,10 +64,10 @@ Now everything is together to run the present factory in the desert. Implement t
6464
- Construct a `(string * int * int) list` which has an entry (toy,importance,weight) for all the child's wishes, where the first two parts are taken from the wish list and the weight is checked in the catalogue. Toys on the child's wish list that are not available (in the catalogue) have to be removed from the list.
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`).
67-
68-
```Ocaml
69-
type selection_alg = (string * int * int) list -> int -> string list
70-
```
67+
68+
```Ocaml
69+
type selection_alg = (string * int * int) list -> int -> string list
70+
```
7171
7272
- Write the selected presents to the file **"presents/**$name$**.txt"** one per line.
7373

0 commit comments

Comments
 (0)