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

Dunlin

Audit a table export for duplicate parents and orphaned child rows.

Source repository · Package JSON

Use Dunlin

use vendor::dunlin::dunlin;

Run the example

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

fn main() {
    let parents = [1, 1, 3];
    let children = [1, 2, 2];
    let result = dunlin_check(parents, children);
    if len(result) == 0 { println!("invalid"); return; }
    let mut i = 0;
    while i < len(result) {
        println!(at(result, i));
        i += 1;
    }
}

Expected output

0
1
2
1

Published versions

VersionPackageSource commitSHA-256
0.1.0Download ZIP19220f40768316337ff21eff57612264d38b22190d99348e3b93a8c3635a0e441b800ef9c3