How xforms transducers are classified
masterxforms categorizes its transducers into three main groups based on their behavior:
- Regular transducers: Single-argument transducers like
partition,reductions,for,take-last,drop-last,sort,sort-by,wrap,window, andwindow-by-time. - Higher-order transducers: Transducers that accept other transducers as arguments, such as
by-key,into-by-key,multiplex,transjuxt,partition(with 2+ args), andtime. - Aggregators: Transducers that emit exactly one item regardless of input size. These are typically used within higher-order transducers. Examples include
reduce,into,without,transjuxt,last,count,avg,sd,min,minimum,max,maximum, andstr.
Additionally, net.cgrand.xforms.io provides sh for using processes as reducible collections or transducers.