Registry / Framework

framework · v0.1.0
Chaffinch
Reconcile sorted collection snapshots without materializing their union.
Use Chaffinch
use vendor::chaffinch::chaffinch;
Run the example
nest demo chaffinch@0.1.0
blyxc native-run chaffinch-demo/main.blyx
Example source and expected output
use vendor::chaffinch::chaffinch;
fn main() {
let old = [1, 1, 2, 4];
let fresh = [2, 2, 3, 4];
let result = chaffinch_reconcile(old, fresh);
if len(result) == 0 { println!("invalid"); return; }
let mut i = 0;
while i < len(result) {
println!(at(result, i));
i += 1;
}
}
Expected output
1
1
2
1
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.0 | Download ZIP | 76d2d9cdad | 734792943b5c9a4fbd09031cd55ecd33dad30b2c66d0385d6f65e9c1ddde5af5 |