imap previously mapped with 1-based indices
Why???? Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
b47e2c2ab6
commit
8a66c8b8f8
|
@ -52,7 +52,7 @@ in rec {
|
||||||
imap' = n:
|
imap' = n:
|
||||||
if n == len
|
if n == len
|
||||||
then []
|
then []
|
||||||
else [ (f n (elemAt list n)) ] ++ imap' (inc n);
|
else [ (f (inc n) (elemAt list n)) ] ++ imap' (inc n);
|
||||||
in imap' 0;
|
in imap' 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue