foldl/foldr based enumerations