fn wstr_leaf_const(prefix: &str) -> ArgComposite {
		ArgComposite::new(
			2 * (prefix.len() + 1),
			"WStrLeaf_of_",
			vec![
            //what about using .ZIP instead of .FOLD ?
				(0, Box::new(Const::new(prefix.chars()
                    .fold(Vec::new(), |mut b, c| {
                        b.extend_from_slice(&[c as u8, 0u8]);
                        b } )))),
				(2 * (prefix.len()), Box::new(Pattern::new(0, 2))),
			])
	}
/// final length of the string is +2 as we appending 0 ( C-like strings )
final length of the string is +2 as we appending 0 ( C-like strings )
final length of the string is + 2 as we appending 0 ( C - like strings )
fn wstr_leaf_const(prefix: &str) -> ArgComposite {
		ArgComposite::new(
			2 * (prefix.len() + 1),
			"WStrLeaf_of_",
			vec![
            //what about using .ZIP instead of .FOLD ?
				(0, Box::new(Const::new(prefix.chars()
                    .fold(Vec::new(), |mut b, c| {
                        b.extend_from_slice(&[c as u8, 0u8]);
                        b } )))),
				(2 * (prefix.len()), Box::new(Pattern::new(0, 2))),
			])
	}
fn wstr_leaf_const ( prefix : & str ) -> ArgComposite { ArgComposite :: new ( 2 * ( prefix . len ( ) + 1 ) , " " , vec ! [ //what about using .ZIP instead of .FOLD ? ( 0 Box new ( Const new ( prefix chars ( ) fold ( Vec new ( ) mut b c { b extend_from_slice ( [ c as u8 0u8 ] ) b } ) ) ) ) ( 2 ( prefix len ( ) ) Box new ( Pattern new ( 0 2 ) ) ) ] ) }
final length of the string is +2 as we appending 0 ( C-like strings )
final length of the string is + 2 as we appending 0 ( C - like strings )
prefix
&str
prefix
&str