Tracks
/
OCaml
OCaml
/
Exercises
/
Custom Set
Custom Set

Custom Set

Hard

Instructions

Create a custom set type.

Sometimes it is necessary to define a custom data structure of some type, like a set. In this exercise you will define your own set. How it works internally doesn't matter, as long as it behaves like a set of unique elements.

Edit via GitHub The link opens in a new window or tab
OCaml Exercism

Ready to start Custom Set?

Sign up to Exercism to learn and master OCaml with 45 exercises, and real human mentoring, all for free.