Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 643 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 643 Bytes

rust-rampart

test

Rust implementation of the Haskell Rampart library by Taylor Fausak.

Usage

Add this to your Cargo.toml:

[dependencies]
rampart = "0.1.1"

Examples

let a = Interval::new(2, 3);
let b = Interval::new(3, 7);
let rel = a.relate(&b); 
# Relation::Meets