Registry / Library

library · v0.1.0
AuditGaps
Count forward gaps and nonadvancing IDs in an audit export.
Use AuditGaps
use vendor::auditgaps::auditgaps;
Run the example
nest demo auditgaps@0.1.0
blyxc native-run auditgaps-demo/main.blyx
Example source and expected output
use vendor::auditgaps::auditgaps;
fn main() {
let ids = [10, 12, 12, 11, 13];
let result = auditgaps_sequence(ids);
if len(result) == 0 { println!("invalid"); return; }
let mut i = 0;
while i < len(result) {
println!(at(result, i));
i += 1;
}
}
Expected output
1
2
13
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.0 | Download ZIP | f1aee5fc6f | 503ada208a877c4d4b7507ca9d8af86bb193c37f7134597473f7319134ef6e24 |