Crate idata[][src]

Small tools to work with rust reducing mutability and programming more functional way.

Mutability and sharing is bad.

Viric mutability is bad.

Mutability on large pieces of code is bad.

In Rust, we can have no viric, not shared mutability. Let's reduce to small scopes...

For an introduction and context view, read...

A very basic example...

   extern crate idata;
   use idata::cont::IVec;

   fn main() {
        let v = vec![1, 2];
        let v = v.ipush(3)

       assert!(v == vec![1,2,3,4]);



Module to work with containers


Recursive simulation with TCO



Try getting a char from top of a Chars returning the (char, remaining_chars) if possible