std_tools 0.1.4

Collection of general purpose tools for solving problems. Fundamentally extend the language without spoiling, so may be used solely or in conjunction with another module of such kind.
Documentation
use super::*;
use TheModule::*;

//

tests_impls!
{

  #[ test ]
  fn basic()
  {
    // test.case( "basic" );
    let src = vec![ 1, 2, 3 ];
    let exp = ( vec![ 2, 3, 4 ], vec![ 0, 1, 2 ] );
    let got : ( Vec< _ >, Vec< _ > ) = src.iter().map( | e |
    {(
      e + 1,
      e - 1,
    )}).multiunzip();
    a_id!( got, exp );
  }

}

//

tests_index!
{
  basic,
}