例子 iex>Enum.group_by(〜w{antbuffcatcatdingo},&String.length/1)%{3=>[“ant”,“cat”],7=>[“buffalo”],5=>[“dingo