Tracks
/
Gleam
Gleam
/
Exercises
/
Custom Set
Custom Set

Custom Set

Medium

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.

For this exercise, please refrain from using the gleam/set module.

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

Ready to start Custom Set?

Sign up to Exercism to learn and master Gleam with 36 concepts, 125 exercises, and real human mentoring, all for free.