TimelyDataflow / timely-dataflow

A modular implementation of timely dataflow in Rust
MIT License
3.25k stars 273 forks source link

Introduce `FlatContainer`, `container` function for hinting #556

Closed frankmcsherry closed 5 months ago

frankmcsherry commented 5 months ago

This PR adds #550's FlatContainer container, as well as a StreamCore::container<C>() method to use for hinting when containers are potentially ambiguous. Some amount of an experiment in ergonomics; the approach is #550 is still valid (specifying the container in the generics of the method), but this allows you to avoid that and only specify the container in a container::<HERE>() call.