unit   xtlang


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

Implementation

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


Back to Index

Similar Entries