Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomquist/DebugView

Playground to visualize functional programming with sequences
https://github.com/tomquist/DebugView

Last synced: 3 months ago
JSON representation

Playground to visualize functional programming with sequences

Awesome Lists containing this project

README

        

# DebugView

This playground visualizes functional programming with sequences using [Graphviz](http://www.graphviz.org/). 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](https://brew.sh/):

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](https://github.com/tomquist/DebugView/raw/master/Demo.gif)