DebugView
所属分类:collect
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2019-08-03 14:14:17
上 传 者:
sh-1993
说明: 用序列可视化函数编程的游乐场,
(Playground to visualize functional programming with sequences,)
文件列表:
DebugView.playground/ (0, 2019-08-03)
DebugView.playground/Contents.swift (898, 2019-08-03)
DebugView.playground/Sources/ (0, 2019-08-03)
DebugView.playground/Sources/DebugView.swift (15742, 2019-08-03)
DebugView.playground/Sources/Graphviz.swift (1188, 2019-08-03)
DebugView.playground/Sources/Utils.swift (1408, 2019-08-03)
DebugView.playground/contents.xcplayground (186, 2019-08-03)
DebugView.playground/playground.xcworkspace/ (0, 2019-08-03)
DebugView.playground/playground.xcworkspace/contents.xcworkspacedata (135, 2019-08-03)
DebugView.playground/timeline.xctimeline (587, 2019-08-03)
Demo.gif (1387674, 2019-08-03)
# 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)
近期下载者:
相关文件:
收藏者: