Package com.jnape.palatable.lambda.adt
Class Unit
java.lang.Object
com.jnape.palatable.lambda.adt.Unit
The empty return type. Unlike
Void
, this type is actually inhabited by a singleton instance that can be used,
rather than having to resort to null
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary