span

one of the documented procedures in this installation of the ACS
Usage:
span   p   xs
What it does:
splits a list using take_while and drop_while
Defined in: /web/philip/tcl/ad-functional.tcl

Source code:


    list [take_while $p $xs] [drop_while $p $xs]


philg@mit.edu