This playground visualizes functional programming with sequences using Graphviz. You get a visualization of what happens to each element in each call.
Graphviz is required for rendering of the graph. Install it, e.g. using Homebrew:
brew install graphviz
Currently the following operations are supported:
- map
- flatMap
- filter
- reduce
- sorted
- first(where:)
- first
- dropFirst
- drop(while:)
- prefix(while:)
- prefix(maxLength:)
- suffix(maxLength:)
- suffix(from:)
- contains(where:)
- contains(element:)
- max
- min
- reversed
- joined
- joined(separator:)