RosettaCodeData/Task/Anagrams/F-Sharp/anagrams-1.fs
2023-07-01 13:44:08 -04:00

2 lines
192 B
FSharp

let xss = Seq.groupBy (Array.ofSeq >> Array.sort) (System.IO.File.ReadAllLines "unixdict.txt")
Seq.map snd xss |> Seq.filter (Seq.length >> ( = ) (Seq.map (snd >> Seq.length) xss |> Seq.max))