Effective OCaml

Lessons from 20+ years of OCaml at work

Yaron Minsky / Jane Street

Make illegal states unrepresentable

Code for exhaustion

Avoid boilerplate

Test effortlessly

Don't be puritanical about purity

Avoid complex type hackery

Want to learn more?