You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1707,8 +1707,46 @@ As with `with-accessors` you can provide names which are different than the acce
1707
1707
1708
1708
There is absolutely nothing special about `with-object-accessors`: it's just the obvious thing you would write using `symbol-macrolet`. Its only reason to exist is so that it *does* exist: versions of it no longer have to be endlessly rewritten. It is careful to evaluate the object only once, so `(with-object-accessors (car cdr) (cons 1 2) ...)` would work, say.
1709
1709
1710
+
Additionally, `object-accessors` now provides a macro for named access to array elements. This is `with-named-array-references`. It has independent origin from `with-object-accessors` and takes its arguments in the opposite order. That's slightly unfortunate. Its syntax is
`object-accessors` lives in `org.tfeb.hax.object-accessors` and provides `:org.tfeb.hax.object-accessors`.
1749
+
`object-accessors`depends on `utilities`, lives in `org.tfeb.hax.object-accessors` and provides `:org.tfeb.hax.object-accessors`.
1712
1750
1713
1751
## Decomposing iteration: `simple-loops`
1714
1752
Like a lot of people I have mixed feelings about `loop`. For a long time I thought that, well, if I wasn't going to use `loop`, I'd need some other elaborate iteration system, although perhaps one which was more principled and extensible such as Richard C Waters' [Series](https://github.com/tfeb/series"Series")[^14]. And I am sure the CL community has invented other tools while I've not been watching.
0 commit comments