join   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/base/prelude.xtm

Implementation

;; also known as 'flatten'
(bind-func join:[List{!a}*,List{List{!a}*}*]*
  (lambda (M)
    (Cons$ M (xs xss) (append xs (join xss)) (Nil))))


Back to Index

Similar Entries