import TypeClass definst Witchcraft.Foldable, for: BitString do def right_fold(string, seed, reducer) do string |> String.to_charlist() |> Witchcraft.Foldable.right_fold(seed, reducer) end end