Skip to content

Commit

Permalink
(GitHub Action) Deprecate some aliases and prefer "sequence" to "seq"…
Browse files Browse the repository at this point in the history
… in built-in names. (#206)

This commit was copied from the master branch.

Commit: 38126cc
Author: okamsn <[email protected]>
Date: 2024-09-04 01:34:27 +0000

Deprecate some aliases and prefer "sequence" to "seq" in built-in names. (#206)

- 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.
  • Loading branch information
github-actions[bot] committed Sep 4, 2024
1 parent 0680cfd commit 0ed92b2
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0ed92b2

Please sign in to comment.