parse-number-range

2024-10-12

Parses LOOP's convenient "for-as-arithmetic" syntax into 5 simple values: from, to, limit-kind (:inclusive, :exclusive or nil if unbounded), by (step) and direction (+ or -)). Further related utilities are provided. Intended for easy implementation of analogous functionality in other constructs.

Upstream URL

tarballs.hexstreamsoft.com/libraries/latest/parse-number-range_latest.tar.gz

Author

Jean-Philippe Paradis <hexstream@gmail.com>

License

Public Domain
README
Project's home: https://www.hexstreamsoft.com/libraries/parse-number-range/ parse-number-range parses LOOP's convenient "for-as-arithmetic" syntax into 5 simple values: from, to, limit-kind (:inclusive, :exclusive or nil if unbounded), by (step) and direction (+ or -)). Further related utilities are provided. Intended for easy implementation of analogous functionality in other constructs. This library is in the Public Domain. See the UNLICENSE file for details.

Dependencies (3)

  • cartesian-product-switch
  • enhanced-multiple-value-bind
  • parachute

Dependents (0)

    • GitHub
    • Quicklisp