length   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/adt.xtm

Implementation

(bind-func length:[i64,List{!a}*]*
  (lambda (a)
    (if (null? a)
        0
        (+ 1 (length (cdr a))))))


Back to Index

Similar Entries