F# Equivalent of Python range -


i've started learning f#, , 1 thing i've run don't know way express equivalent of range function in python. know [1..12] equivalent of range(1,13). want able range(3, 20, 2) (i know haskell has [3,5..19]). how can express this?

seq { 3 .. 2 .. 20 } 

results in

3 5 7 9 11 13 15 17 19 

https://msdn.microsoft.com/en-us/library/dd233209.aspx


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -