t-reduced
as a better wrapper thanmake-transducers-reduced
.- The
t-median
reducer. - The
t-reversed
source to iterate from the end of an array/vector/string. t-const
andt-snoc
which were unintentionally missing.
t-anyp
andt-allp
now yieldt
instead of just non-nil when they succeed.t-concatenate
andt-flatten
now support vectors/arrays/strings.
Merry Christmas. The code itself was written in airports.
- Source:
t-from-json-buffer
for streaming values from a buffer that contains a JSON array. Due to the unique way it traverses the buffer to read legal JSON, this function is a "Source", unliket-from-csv
, which is a transducer. - Reducer:
t-into-json-buffer
to write a stream of objects into the current buffer as legal JSON. It uses the built-injson-serialize
to do this. The user is expected to manage which buffer is actually considered "current". buffer
objects (not their names) can now be passed directly totransduce
instead of needing to wrap it int-buffer-read
.t-buffer-read
is however still necessary if you wish to transduce over a buffer via its name (a string).
t-for-each
now yieldst
instead ofnil
.
Initial release.