Unit typedef

Unit = ()

Type alias for (). Used for a Result when the returned value does not matter. Preferred over void since forces stricter types. See unit, okay, and error

Implementation

typedef Unit = ();