Change Prelude.Strings.pack to work with Foldables