monadic 0.5.5

macros to define Haskell style monadic action blocks for IntoIterators, Reader, Writer, State, and macros for the transformers ReaderT and WriterT over Vec, LinkedList and VecDeque
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// mod util

pub fn concat_vec_array<T: Clone>( mut v1: Vec<T>, v2: &[T]) -> Vec<T> {

   v1.append( &mut Vec::from(v2));
   v1
}

pub fn concat_string_str( mut s1: String, s2: &str) -> String {
   s1.push_str( s2);
   s1
}