[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pcase: Semantics of atom QPATS

From: Michael Heerdegen
Subject: Re: pcase: Semantics of atom QPATS
Date: Mon, 11 Jun 2018 22:53:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> [ It's an `equal` test we want, not `eq`.  ]

Of course - that was a typo.

> The issue is rather that not all types might want an `equal` test.
> E.g. we could accept patterns like
>     `#s(hash-table (data ,key1 ,val1))
> Which is why I prefer signaling an error: it lets us extend the
> semantics of ` without any fear of breaking backward compatibility.

Ah, makes sense.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]