Ocaml

OCaml ecosystem = opam + dune + merlin + ocamlformat.

plurigrid Updated 72 repo stars

File contents

ocaml

OCaml ecosystem = opam + dune + merlin + ocamlformat.

Atomic Skills

Skill Commands Domain
opam 45 Package manager
dune 20 Build system
merlin 1 Editor support
ocamlformat 1 Formatter

Workflow

opam switch create 5.1.0
eval $(opam env)
opam install dune merlin
dune init project myapp
cd myapp
dune build
dune test

dune-project

(lang dune 3.0)
(name myapp)

(library
 (name mylib)
 (libraries str unix))

(executable
 (name main)
 (libraries mylib))

REPL

utop
dune utop

plurigrid/asi commit eb45af3ca4

Frequently asked questions

npx get-skill add plurigrid/ocaml