concept unit in category elm

appears as: unit, The unit
Elm in Action

This is an excerpt from Manning's book Elm in Action.

Whoa! What’s that funky () thing? The () value is known as unit. It contains no information whatsoever. It’s both a value and a type; the () type can be satisfied only with the () value. We could use it to write a function like this:

Remember the () value that we discussed back in chapter 3? It’s called unit, and we used it near the end of section 3.3.3 to annotate main as Program () Model Msg.