(partition-by f ch) (partition-by f ch buf-or-n)
Deprecated - this function will be removed. Use transducer instead
; Source: 4clojure (https://www.4clojure.com/problem/31)
(partition-by identity [1 1 2 1 1 1 3 3])
=> ((1 1) (2) (1 1 1) (3 3))