seg.spad line 421 [edit on github]
This package provides operations for mapping functions onto segments.
map(f, s) expands the segment s, applying f to each value.
map(f, seg) returns the new segment obtained by applying f to the endpoints of seg.