• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaFolds / Transducers.jl / 1607 / 2
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2020 01:00AM UTC
Files 23
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jun 2020 12:34AM UTC coverage: 63.372% (-22.3%) from 85.67%
JULIA_NUM_THREADS=2 COVERALLS_PARALLEL=true

push

travis-ci-com

web-flow
Add TeeRF and ProductRF: multicasting reducing function combinators (#295)

This PR adds `TeeRF` and `ProductRF` that combine _multiple_ reducing
functions into a single reducing function by "multicasting" items in
the input.  For example, they can be used to compose reductions like
`extrema` fused with arbitrary processing with transducer:

```julia
julia> foldl(TeeRF(min, max), Filter(isodd), 2:8)
(3, 7)
```

Since `TeeRF` and `ProductRF` are the transformation of the form
`(rf₁, rf₂, ..., rfₙ) -> rf′` and not `rf -> rf′`, they are _not_
transducers.  However, implementing them correctly requires the
generalized reducing function API (and a coherent initialization
framework #289) as in Transducers.jl.  So, it makes sense to have them
here.

This PR also adds a _transducer_ `Broadcasting` which resembles
`ProductRF` (and originally implemented as a reducing function than a
transducer).

close #65

827 of 1305 relevant lines covered (63.37%)

22215.83 hits per line

Source Files on job 1607.2 (JULIA_NUM_THREADS=2 COVERALLS_PARALLEL=true)
  • Tree
  • List 0
  • Changed 19
  • Source Changed 3
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1350
  • Travis Job 1607.2
  • 83bf2b5d on github
  • Prev Job for JULIA_NUM_THREADS=2 COVERALLS_PARALLEL=true on master (#1599.1)
  • Next Job for JULIA_NUM_THREADS=2 COVERALLS_PARALLEL=true on master (#1609.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc