Go to file
Vladan Popovic 59b82ee023 hamming 2024-01-13 13:17:01 +01:00
hamming hamming 2024-01-13 13:17:01 +01:00
hello-world first two easy exercises 2024-01-13 12:19:21 +01:00
leap first two easy exercises 2024-01-13 12:19:21 +01:00
.envrc first two easy exercises 2024-01-13 12:19:21 +01:00
README.md add readme 2024-01-13 12:31:19 +01:00
dune-project first two easy exercises 2024-01-13 12:19:21 +01:00
flake.lock first two easy exercises 2024-01-13 12:19:21 +01:00
flake.nix first two easy exercises 2024-01-13 12:19:21 +01:00

README.md

OCaml exercism exercises

To set up the envirnoment run:

nix develop

To test a single exercise with dune:

dune test hello-world

Configuring the exercism CLI

First, get a token from exercism, than run:

exercism configure --token <token> --workspace /home/vladan/dev/exercism

Using the exercism CLI

Download an exercise:

exercism download --track=ocaml --exercise=hello-world

To test a single exercise open the folder and run test, e.g.:

cd hello-world
exercism test

To submit solutions (from within the exercise folder):

exercism submit