Re: Does `side-effect-free` have to apply to sub-functions too?
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Apr 26, 2026 at 01:28:38AM +0000, Okamsn wrote: > Hello, > > I am wondering whether a function being free of side effects applies to > functions that use `seq-elt`, which could run an unknown method > implementation for an unknown custom type. If it is possible for the > unknown method implementation to have side effects, then is the function > which unknowingly triggers the unknown implementation considered to not > be side-effect free? I'd think so. You have the side effects then, after all. Cheers -- t
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCae3FeQAKCRAFyCz1etHa RnrQAJ9CF7oCm56r4w2aOqbiir7cple8jACfeYu2jzMOYDE5eSbzAr96UqZRRQE= =bmfc -----END PGP SIGNATURE-----