RosettaCodeData/Task/Sort-three-variables/F-Sharp/sort-three-variables.fs
2023-07-01 13:44:08 -04:00

4 lines
142 B
FSharp

let x = "lions, tigers, and"
let y = "bears, oh my!"
let z = """(from the "Wizard of OZ")"""
List.iter (printfn "%s") (List.sort [x;y;z])