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

Create an iter iteration command. #135

Merged
merged 2 commits into from
Nov 25, 2022
Merged

Create an iter iteration command. #135

merged 2 commits into from
Nov 25, 2022

Conversation

okamsn
Copy link
Owner

@okamsn okamsn commented Oct 31, 2022

Loops through Emacs Lisp generators. See also #134.

DONE

@okamsn okamsn added the enhancement New feature or request label Oct 31, 2022
@okamsn okamsn marked this pull request as draft October 31, 2022 02:56
@okamsn okamsn force-pushed the iter-cmd branch 2 times, most recently from 2a720cd to 63995ac Compare November 25, 2022 16:02
- Add an `iter` command with alias `iterating`.
  - Add tests.
  - Update documentation, README, and CHANGELOG.

- Rename `loopy--accumulation-final-updates` to `loopy--vars-final-updates`.
  The old name is now an obsolete alias.

- Make SRC blocks in `loopy-doc.org` default to lexical binding via
  header arguments.

- Add `lexical-binding` to the file-local variables in `loopy-doc.org`.
  This helps when evaluating the examples with `C-x C-e`.

- Make the pre-conditions and post-conditions order dependent.
  This is needed for using a the same iterator object with multiple
  `iter` commands, since producing a value and testing for completion
  are the same action.

- Extract some code to `loopy--correct-var-structure` for correcting
  the special variables built in reverse.

- Make test macro `lq` and `liq` use lexical binding.
- Require `generator` in tests.
@okamsn okamsn marked this pull request as ready for review November 25, 2022 17:41
@okamsn okamsn merged commit f08776e into master Nov 25, 2022
@okamsn okamsn deleted the iter-cmd branch November 25, 2022 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant