change splitf-at* to filter-split

pull/2/head
Matthew Butterick 10 years ago
parent 92a3fb2d82
commit 66dc6e0e6e

@ -15,7 +15,7 @@
[else (cons (take xs len) (list->slices (drop xs len) len))]))
(define+provide/contract (splitf-at* xs split-test)
(define+provide/contract (filter-split xs split-test)
(list? predicate/c . -> . (listof list?))
(let loop ([xs (trimf xs split-test)] [acc '()])
(if (empty? xs)

Loading…
Cancel
Save