Blyx Nest Blyx language
Registry / Framework
framework · v0.1.0

Bunting

Publish a distribution as a standalone HTML table with interval labels, counts and meters. Reuse the same bin definitions in reports and tests.

Source repository · Package JSON

Use Bunting

use vendor::bunting::bunting;

Run the example

nest demo bunting@0.1.0
blyxc native-run bunting-demo/main.blyx
Example source and expected output
use vendor::bunting::bunting;

fn main() {
    let waits = [0, 4, 5, 8, 10, 12];
    let edges = [5, 10];
    println!(bu_count(waits, edges, 0));
    println!(bu_count(waits, edges, 1));
    println!(bu_count(waits, edges, 2));
}

Expected output

2
2
2

Published versions

VersionPackageSource commitSHA-256
0.1.0Download ZIP381a5fbefc47d7b9ddd97507c529336c300607904d8f22f4e08232f0f3fc5d27f3ae9f7d64