[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in and-map and or-map? What am I doing wrong?
From: |
Neil Jerram |
Subject: |
Re: Bug in and-map and or-map? What am I doing wrong? |
Date: |
07 May 2001 17:58:38 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Marius" == Marius Vollmer <address@hidden> writes:
Marius> Neil Jerram <address@hidden> writes:
>> (define (and-map-multilist f . lsts) (if (apply eq? (map length
>> lsts))
Marius> You want to use `=' here instead of `eq?'. `eq?' fails on
Marius> bignums. Ok, list length wont be bignums...
`eq?' has the nice property that it works with 0 and 1 arguments.
But so does `=', so you are right.
Should I replace the existing `and-map' and `or-map' (in boot-9.scm)
with this generalization?
Neil
- Bug in and-map and or-map? What am I doing wrong?, Alejandro Forero Cuervo, 2001/05/05
- Re: Bug in and-map and or-map? What am I doing wrong?, Neil Jerram, 2001/05/06
- Re: Bug in and-map and or-map? What am I doing wrong?, Alejandro Forero Cuervo, 2001/05/09
- Re: Bug in and-map and or-map? What am I doing wrong?, Alejandro Forero Cuervo, 2001/05/09
- Re: Bug in and-map and or-map? What am I doing wrong?, Neil Jerram, 2001/05/11
- Re: Bug in and-map and or-map? What am I doing wrong?, Dirk Herrmann, 2001/05/11
- Re: Bug in and-map and or-map? What am I doing wrong?, Keith Wright, 2001/05/11
- Re: Bug in and-map and or-map? What am I doing wrong?, Dirk Herrmann, 2001/05/12