Module

Data.Unit

#Unit

data Unit :: Type

The Unit type has a single inhabitant, called unit. It represents values with no computational content.

Unit is often used, wrapped in a monadic type constructor, as the return type of a computation where only the effects are important.

Instances

#unit

unit :: Unit

unit is the sole inhabitant of the Unit type.

Modules