[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Fix #1422 by always stopping on the first list
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Fix #1422 by always stopping on the first list that's exhausted |
Date: |
Sun, 14 Jul 2019 19:33:10 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hi all,
Here's a patch for #1422. Fixing this was quite a slog for me, for
some reason. Anyway, I realised that this means our srfi-1 egg is
currently incorrect as well, since it doesn't define its own version
of map and for-each:
#;1> (import srfi-1)
#;2> (map + '(1 2) '(1 2 3))
(2 4)
#;3> (map + '(1 2 3) '(1 2))
Error: (map) lists are not of same length: (())
I think both should return the same in standard SRFI-1.
Cheers,
Peter
0001-Make-map-and-for-each-behave-consistently-between-co.patch
Description: Text Data
signature.asc
Description: PGP signature
- [Chicken-hackers] [PATCH] Fix #1422 by always stopping on the first list that's exhausted,
Peter Bex <=