several years ago i got inspired for an iterate rewrite: https://github.com/hu-dwim/hu.dwim.reiterate
IIRC, to keep source location working, all i had to do was to make sure that i retain the cons cell identities. maybe it's a lot of headache for an old codebase, but i don't remember it to be too much of a problem. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- Hitler, Stalin, Pol Pot and Mao didn't kill many people. People just doing their jobs to support their families did though.