unit   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/tests/core/algebraic_data_types.xtm

Implementation

;; also known as return or pure
(bind-func unit:[ADOption{!a}*,!a]*
  (lambda (x)
    (ADSome x)))


Back to Index

Similar Entries