[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: procedure to check equality of list-elements
From: |
Luca Fascione |
Subject: |
Re: procedure to check equality of list-elements |
Date: |
Sun, 6 Nov 2022 07:13:24 -0800 |
Note the detail that + a b c and eq? a b c don't do the exact same thing:
+ a b c is equivalent to (a + b) + c
eq? a b c is equivalent to (a == b) && (b == c)
The list form has short circuiting if I remember right (eq? bails out on
the first false it finds), but I don't remember how evaluation works for
the arguments, in terms of what side effects are meant to observable when
early-out happens
L
>
- procedure to check equality of list-elements, Thomas Morley, 2022/11/06
- Re: procedure to check equality of list-elements, Jean Abou Samra, 2022/11/06
- Re: procedure to check equality of list-elements, Thomas Morley, 2022/11/06
- Re: procedure to check equality of list-elements, Jean Abou Samra, 2022/11/06
- Re: procedure to check equality of list-elements, David Kastrup, 2022/11/06
- Re: procedure to check equality of list-elements,
Luca Fascione <=
- Re: procedure to check equality of list-elements, Jean Abou Samra, 2022/11/06
- Re: procedure to check equality of list-elements, Luca Fascione, 2022/11/06