cyclejs/cycle-core

View on GitHub
docs/img/fold-counter.svg

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg viewBox="0 0 787 401" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
    <!-- Generator: Sketch 3.3.2 (12043) - http://www.bohemiancoding.com/sketch -->
    <title>scan-counter</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="scan" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
        <g id="scan-counter" sketch:type="MSArtboardGroup">
            <path d="M24.5,77.5 L759.758484,77.5" id="Line" stroke="#727481" stroke-width="5" stroke-linecap="square" sketch:type="MSShapeGroup"></path>
            <path id="Line-decoration-1" d="M759.758484,77.5 L748.958484,74.5 L748.958484,80.5 L759.758484,77.5 Z" stroke="#727481" stroke-width="5" stroke-linecap="square"></path>
            <circle id="Oval-1-Copy" stroke="#67AB83" stroke-width="5" fill="#8FE8B4" sketch:type="MSShapeGroup" cx="155" cy="77" r="10"></circle>
            <circle id="Oval-1-Copy-2" stroke="#67AB83" stroke-width="5" fill="#8FE8B4" sketch:type="MSShapeGroup" cx="325" cy="77" r="10"></circle>
            <circle id="Oval-1-Copy-3" stroke="#67AB83" stroke-width="5" fill="#8FE8B4" sketch:type="MSShapeGroup" cx="385" cy="77" r="10"></circle>
            <circle id="Oval-1-Copy-4" stroke="#67AB83" stroke-width="5" fill="#8FE8B4" sketch:type="MSShapeGroup" cx="425" cy="77" r="10"></circle>
            <circle id="Oval-1-Copy-5" stroke="#67AB83" stroke-width="5" fill="#8FE8B4" sketch:type="MSShapeGroup" cx="585" cy="77" r="10"></circle>
            <path d="M24.5,327.5 L759.758484,327.5" id="Line-Copy" stroke="#727481" stroke-width="5" stroke-linecap="square" sketch:type="MSShapeGroup"></path>
            <path id="Line-Copy-decoration-1" d="M759.758484,327.5 L748.958484,324.5 L748.958484,330.5 L759.758484,327.5 Z" stroke="#727481" stroke-width="5" stroke-linecap="square"></path>
            <circle id="Oval-1-Copy-6" stroke="#409B9E" stroke-width="5" fill="#58D3D8" sketch:type="MSShapeGroup" cx="35" cy="327" r="10"></circle>
            <circle id="Oval-1-Copy-7" stroke="#409B9E" stroke-width="5" fill="#58D3D8" sketch:type="MSShapeGroup" cx="155" cy="327" r="10"></circle>
            <circle id="Oval-1-Copy-8" stroke="#409B9E" stroke-width="5" fill="#58D3D8" sketch:type="MSShapeGroup" cx="325" cy="327" r="10"></circle>
            <circle id="Oval-1-Copy-9" stroke="#409B9E" stroke-width="5" fill="#58D3D8" sketch:type="MSShapeGroup" cx="385" cy="327" r="10"></circle>
            <circle id="Oval-1-Copy-10" stroke="#409B9E" stroke-width="5" fill="#58D3D8" sketch:type="MSShapeGroup" cx="425" cy="327" r="10"></circle>
            <circle id="Oval-1-Copy-11" stroke="#409B9E" stroke-width="5" fill="#58D3D8" sketch:type="MSShapeGroup" cx="585" cy="327" r="10"></circle>
            <rect id="Rectangle-1" stroke="#727481" stroke-width="2" fill="#FFFFFF" sketch:type="MSShapeGroup" x="27" y="157" width="736" height="90"></rect>
            <text id="-1" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#67AB83">
                <tspan x="131" y="45">-1</tspan>
            </text>
            <text id="+1" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#67AB83">
                <tspan x="301" y="45">+1</tspan>
            </text>
            <text id="+1-copy" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#67AB83">
                <tspan x="359" y="45">+1</tspan>
            </text>
            <text id="+1-copy-2" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#67AB83">
                <tspan x="404" y="45">+1</tspan>
            </text>
            <text id="-1" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#67AB83">
                <tspan x="561" y="45">-1</tspan>
            </text>
            <text id="-1-copy-2" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#409B9E">
                <tspan x="131" y="377">-1</tspan>
            </text>
            <text id="scan((x,y)-=&gt;-x+y)" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#727481">
                <tspan x="178" y="210">fold((x,y) =&gt; x+y, 0)</tspan>
            </text>
            <text id="0-copy" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#409B9E">
                <tspan x="24" y="377">0</tspan>
            </text>
            <text id="0" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#409B9E">
                <tspan x="315" y="377">0</tspan>
            </text>
            <text id="1" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#409B9E">
                <tspan x="374" y="377">1</tspan>
            </text>
            <text id="2" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#409B9E">
                <tspan x="415" y="377">2</tspan>
            </text>
            <text id="1" sketch:type="MSTextLayer" font-family="Courier" font-size="36" font-weight="normal" fill="#409B9E">
                <tspan x="575" y="377">1</tspan>
            </text>
        </g>
    </g>
</svg>