Skip to content

Commit f261b1a

Browse files
committed
Update README.org and CHANGELOG.md for forgotten breaking change.
Now that the built-in destructuring style uses `pcase`, some warnings and errors have changed.
1 parent 80a3090 commit f261b1a

File tree

2 files changed

+6
-36
lines changed

2 files changed

+6
-36
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ This document describes the user-facing changes to Loopy.
1818
([#197], [#145]). These commands no longer take multiple conditions in the
1919
same command.
2020

21+
- The built-in destructuring system was switched to use `pcase` internally,
22+
so some warnings and errors are now reportedly differently ([#199]).
23+
2124
### Bugs Fixed
2225

2326
- Allow `back` in `set-prev` to not be known at compile time ([#202]).

README.org

+3-36
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ please let me know.
3030
-----
3131

3232
_Recent breaking changes:_
33-
- Unreleased:
33+
- Version 0.13.0:
3434
- The deprecated =:init= keyword argument has been removed. Use the =with=
3535
special macro argument instead.
3636
- The deprecated =:result-type= keyword argument has been removed. Use the
@@ -39,41 +39,8 @@ please let me know.
3939
- The commands =always=, =never=, and =thereis= now have the signature
4040
=(command [VAR] CONDITION &key into)=, similar to accumulation commands.
4141
They no longer take multiple condition arguments.
42-
- Version 0.12.0:
43-
- The boolean commands =always=, =never=, and =thereis= now behave more like
44-
accumulation commands and use ~loopy-result~ by default.
45-
- Using multiple conditions in =always=, =never=, and =thereis= is
46-
deprecated. These commands will be changed to have call argument lists
47-
more like accumulation commands, such as =(always [VAR] VAL &key into)=.
48-
This will simplify the code and remove an inconsistency between them and
49-
the other commands.
50-
- Re-using iteration variables in multiple iteration commands now signals
51-
an error. It never produced correct code.
52-
- By default, the commands =cons=, =iter=, =nums=, and =seq-index=
53-
/can/ update named iteration variables outside of the main loop body
54-
and initialize variables to non-nil values, producing faster code.
55-
This can be overridden via the special macro argument =with=.
56-
- =:result-type= is deprecated. Instead, use coercion functions in
57-
special macro arguments, possibly with =accum-opt=.
58-
- The =:init= keyword argument is deprecated. Use the special macro argument
59-
=with= instead.
60-
- =reduce= has been fixed. It now works like ~cl-reduce~ when the variable
61-
starting value isn't explicitly given, storing the first value instead of
62-
storing the result of passing the first value and ~nil~ to the function.
63-
- The deprecated flags =lax-naming= and =split= were removed.
64-
- The deprecated command =sub-loop= was removed.
65-
- The non-keyword arguments of =numbers= are deprecated. Use the keyword
66-
arguments instead. A =:test= keyword argument was added, which is more
67-
flexible and explicit than the non-keyword arguments.
68-
- Fixed a problem with macro expansion in some cases for sub-macros
69-
that created a new macro environment (e.g., ~cl-flet~).
70-
- Loop commands now evaluate arguments like =:test=, =:key=, and =:by= only
71-
once.
72-
- Change the argument order of =test= to be (1) the sequence element then (2)
73-
the tested value, like in ~seq-contains-p~ and _unlike_ in ~cl-member~, and
74-
explicitly state this order in the documentation.
75-
- =&key= now signals an error when there are unmatched keys in the plist, as
76-
in =cl-lib=. =&allow-other-keys= has been added.
42+
- The built-in destructuring system was switched to use ~pcase~ internally,
43+
so some warnings and errors are now reportedly differently.
7744
- See the [[https://github.com/okamsn/loopy/blob/master/CHANGELOG.md][change log]] for less recent changes.
7845

7946
# This auto-generated by toc-org.

0 commit comments

Comments
 (0)