Ranges A to B where A > B in F#
问题 I've just found something I'd call a quirk in F# and would like to know whether it's by design or by mistake and if it's by design, why is it so... If you write any range expression where the first term is greater than the second term the returned sequence is empty. A look at reflector suggests this is by design, but I can't really find a reason why it would have to be so. An example to reproduce it is: [1..10] |> List.length [10..1] |> List.length The first will print out 10 while the second