Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate some aliases. #206

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Deprecate some aliases. #206

merged 1 commit into from
Sep 4, 2024

Commits on Sep 4, 2024

  1. Deprecate some aliases and prefer "sequence" to "seq" in built-in names.

    - To cut back on an over-abundance of choice and to simplify documentation, the
      following built-in aliases have been made obsolete.  They can still be added
      manually via `loopy-defalias`.
      - `array`: `across`
      - `array-ref`: `arrayf`, `arrayingf`, `stringf`, `stringingf`, `across-ref`
      - `cons`: `on`
      - `list`: `in`
      - `list-ref`: `listf`, `listingf`, `in-ref`
      - `map-ref`: `mapf`, `mappingf`
      - `numbers`: `num`, `nums`
      - `numbers-down`: `nums-down`, `numdown`, `num-down`, `numsdown`
      - `numbers-up`: `nums-up`, `numup`, `num-up`, `numsup`
      - `set-prev`: `prev`
      - `seq`: `elements`
      - `seq-index`: `sequencei`, `seqi`, `listi`, `arrayi`, `stringi`
    
    - Document the aliases `mapping-ref`, `listing-ref`, `arraying-ref`,
      `stringing-ref`, and `sequencing-ref`.
    
    - Make `sequence`, `sequence-ref`, `sequence-index` the default names in the
      code and the remaining places in the documentation.  This was already the
      case for most of the documentation.
    
    See this PR #206 and issue #126.
    okamsn committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    5d76199 View commit details
    Browse the repository at this point in the history