Transformation for Sequence.drop_while :param func: drops while func is true :return: transformation
(func)
| 223 | |
| 224 | |
| 225 | def drop_while_t(func): |
| 226 | """ |
| 227 | Transformation for Sequence.drop_while |
| 228 | :param func: drops while func is true |
| 229 | :return: transformation |
| 230 | """ |
| 231 | return Transformation( |
| 232 | "drop_while({0})".format(name(func)), partial(dropwhile, func), None |
| 233 | ) |
| 234 | |
| 235 | |
| 236 | def take_t(n): |