strict foldmap