Skip to content
Playground to visualize functional programming with sequences
Swift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DebugView.playground
.gitignore
Demo.gif
README.md

README.md

DebugView

This playground visualizes functional programming with sequences using Graphviz. You get a visualization of what happens to each element in each call.

Prerequisites

Graphviz is required for rendering of the graph. Install it, e.g. using Homebrew:

brew install graphviz

Supported operations

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:)

Demo

Demo

You can’t perform that action at this time.