template <typename T2> bool strip_left(array<T2> value) { //starts with if(!starts_with(value)) return false; //reduce reduce_left(value.count()); return true; }
template <typename T2> bool strip_right(array<T2> value) { //ends with if(!ends_with(value)) return false; //reduce reduce_right(value.count()); return true; }