range   xtlang


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

Implementation

(bind-func range:[List{!a}*,!a,!a]*
  (lambda (start end)
    (let ((val (- end (convert 1)))
          (result null))
      (while (>= val start)
        (set! result (cons val result))
        (set! val (- val (convert 1))))
      result)))


Back to Index

Similar Entries

  • adrange    xtlang
  • adrange    xtlang
  • adrange    xtlang
  • limit-range    scheme
  • range    scheme
  • range    xtlang
  • range    xtlang
  • range    xtlang
  • range    xtlang
  • range    xtlang
  • range    xtlang
  • range    xtlang
  • range    xtlang
  • range-limit    scheme
  • range-limit    xtlang
  • range_limit    xtlang
  • range_limit    xtlang
  • set_range    xtlang
  • srange    xtlang