bleh
Updated for Data.Foldable version of foldr.