RosettaCodeData/Task/Sort-three-variables/F-Sharp/sort-three-variables.fs

5 lines
142 B
Forth
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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])