fixed bug in foldl argument order, scheme->c uses a different order than chicken