Rust implementation of the Haskell Rampart library by Taylor Fausak.
Add this to your Cargo.toml:
[dependencies]
rampart = "0.1.1"
let a = Interval::new(2, 3);
let b = Interval::new(3, 7);
let rel = a.relate(&b);
# Relation::Meets
Rust implementation of the Haskell Rampart library that determines how intervals relate to each other.
RustMIT
Rust implementation of the Haskell Rampart library by Taylor Fausak.
Add this to your Cargo.toml:
[dependencies]
rampart = "0.1.1"
let a = Interval::new(2, 3);
let b = Interval::new(3, 7);
let rel = a.relate(&b);
# Relation::Meets