range

func range(f : Map) -> Set
  return {all y for x,y in indexed(f)}

Returns the range of the given map, list or string. For example:
  range(mkmap({[0 0] [1 10] [2 10]})) = {0 10}
  range([10 20 10]) = {10 20}
  range(`abcba') = {`a' `b' `c'}
Same as mkset when applied to lists and strings.
See also: domain.
Herman Venter

This is Slim documentation as snarfed on 27 May 1999 by dB.