Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Analiza wyników, dla uproszczenia wyświetlamy dane o 3 najlepszych adresach
- let analyze results =
- let display item =
- printf "Ulica: %s, nr domu %s (dzielnica %s)" item.Street item.Number item.District
- results
- |> List.sortByDescending (fun x -> x.Rank)
- |> List.take 3
- |> List.map display
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement