3 ms·
Historical note: FSet was inspired by a language called Refine, which was in turn inspired by SETL, created in the late 1970s at NYU. As far as I know, SETL wa
by ScottBurson 14y ago
Historical note: FSet was inspired by a language called Refine, which was in turn inspired by SETL, created in the late 1970s at NYU. As far as I know, SETL was the first language to have functional collection types (does anyone know for sure?).
Anyway, some of the operation names used in FSet -- 'with', 'less', and 'arb', for example -- can be traced back to SETL.
SETL also appears to have been the first language with what are now called "comprehensions" (it used the term "formers") to construct collections declaratively. For example,
{ x ** 2 : x in {1 .. 5} }
would produce a set of the squares of the integers from 1 through 5. (Does anyone know of an earlier language with these?)
- andrewcooke 14y agoyou could argue that apl (1964) had a similar idea, although a different syntax?