3 people like it.

'until' function inspired by Scala

Create a list of int in range [init, upper).

1: 
let until init upper = [init..upper - 1]
val until : init:int -> upper:int -> int list

Full name: Script.until
val init : int
val upper : int

More information

Link:http://fssnip.net/fd
Posted:11 years ago
Author:Gab_km
Tags: collection