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

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.

Version:
1.0
License:
Public Domain
Authors:
Jean-Philippe Paradis <hexstream@gmail.com>
Dependencies:
  • cartesian-product-switch

  • enhanced-multiple-value-bind

  • map-bind

Dependencies (3)

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

Dependents (0)

    • GitHub
    • Quicklisp