[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52220: 29.0.50; [PATCH] Declare struct predicates as pure functions
From: |
Lars Ingebrigtsen |
Subject: |
bug#52220: 29.0.50; [PATCH] Declare struct predicates as pure functions |
Date: |
Wed, 01 Dec 2021 21:32:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Andrea Corallo <akrl@sdf.org> writes:
> shouldn't we declare structure predicates as pure functions?
I think that's correct? The predicates take the struct as the argument,
so they seem like pure functions to me. I've added Stefan to the CCs;
perhaps there's some subtlety here I don't see.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no