let lengths = set["four"; "five"; "six"; "seven"] |> Set.map (fun s -> s.Length) // val lengths : Set<int> = set [3; 4; 5]