why not dict:fold/3?