Build Status Crate Docs

rust-arae

Cursed data structures
Documentation hosted on docs.rs.

toml arae = "0.1.0"

Example

```rust use arae::{CurVec, CursedExt, Bounded};

// Create a new CurVec of length 10 with the elements // initialized via Default::default. let mut vec = CurVec::newwithdefault(10);

// Create two cursors pointing the the head of the vec. let writecursor = vec.head(); let readcursor = vec.head();

*vec.getmut(writecursor) = 1;

asserteq!(*vec.get(readcursor), 1); ```