drop   xtlang


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

Implementation

(bind-func drop:[List{!a}*,List{!a}*,i64]*
  "returns a copy of lst sans the first n elements"
  (lambda (lst n)
    (copy (nth_tail lst n))))


Back to Index