def take_pick
import cswap-bend-cli@0.1.0.0/tui/fmt.bend as Fmtimport Base
96def take_pick(+over: Bool, +s: Seg, +n: Nat, +rest: List<&2, Seg>) -> List<&2, Seg>:
97 match over:
98 case True{}:
99 Con{cut(s, n), Nil{}}
100 case False{}:
101 Con{s, rest}