learn-ocaml

Step 0 : Preliminaries

The structure of your local directory of exercises must follow a specific shape, illustrated by the following ascii art:

.
├── exercises
│   ├── exercise1
│   │   ├── descr.html
│   │   ├── meta.json
│   │   ├── prelude.ml
│   │   ├── prepare.ml
│   │   ├── solution.ml
│   │   ├── template.ml
│   │   ├── test.ml
│   │   └── test_libs.txt
│   ├── exercise2
│   │   ├── ...
│   ├── index.json
├── lessons
│   ├── somelesson.json
│   └── lessons.json
├── tutorials
│   ├── index.json
│   ├── some-tutorial.html
│   ├── some-other-tutorial.md

The complete format specification for exercise description is given in docs/exercises_format.md.

{
  "learnocaml_version": "1",
  "groups":
  { "group1":
    {
      "title": "Some group of exercises",
      "exercises": [ "exo1", "exo2" ]
    }
  }
}

Do it yourself!

Reproduce this structure in your own exercise directory. For the moment, your list of exercises is probably empty but it will be populated by the next step of this tutorial.