[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slot accessing issues in EIEIO
From: |
Stefan Monnier |
Subject: |
Re: Slot accessing issues in EIEIO |
Date: |
Thu, 07 May 2020 23:48:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Maybe we can fix the eieio pattern of pcase.
>
> In this piece of code:
>
> (defclass test-class () ((slot)))
>
> (pcase (make-instance 'test-class)
> ((eieio slot)
> slot))
> ;; => unbound
>
> An unbound marker will be returned on the fly without running slot-unbound
> in pcase with eieio pattern. Is it reasonable?
It should likely obey the bound/unbond distinction, and call
slot-missing when applicable, yes. Patch welcome.
Stefan
- Re: Slot accessing issues in EIEIO, (continued)
- Re: Slot accessing issues in EIEIO, Zhu Zihao, 2020/05/06
- Re: Slot accessing issues in EIEIO, Stefan Monnier, 2020/05/06
- Re: Slot accessing issues in EIEIO, Zhu Zihao, 2020/05/06
- Re: Slot accessing issues in EIEIO, Stefan Monnier, 2020/05/06
- Re: Slot accessing issues in EIEIO, Zhu Zihao, 2020/05/07
- Re: Slot accessing issues in EIEIO, Zhu Zihao, 2020/05/07
- Re: Slot accessing issues in EIEIO, Stefan Monnier, 2020/05/07
- Re: Slot accessing issues in EIEIO, Jonas Bernoulli, 2020/05/07
- Re: Slot accessing issues in EIEIO, Stefan Monnier, 2020/05/07
- Re: Slot accessing issues in EIEIO, Zhu Zihao, 2020/05/07
- Re: Slot accessing issues in EIEIO,
Stefan Monnier <=
- Re: Slot accessing issues in EIEIO, Zhu Zihao, 2020/05/08
- Re: Slot accessing issues in EIEIO, Stefan Monnier, 2020/05/08
- Re: Slot accessing issues in EIEIO, Zhu Zihao, 2020/05/07
- Re: Slot accessing issues in EIEIO, Stefan Monnier, 2020/05/07
- Re: Slot accessing issues in EIEIO, Jonas Bernoulli, 2020/05/07
- Re: Slot accessing issues in EIEIO, Jonas Bernoulli, 2020/05/07
- Re: Slot accessing issues in EIEIO, Stefan Monnier, 2020/05/07
Re: Slot accessing issues in EIEIO, Jonas Bernoulli, 2020/05/06