
17 Apr
2015
17 Apr
'15
4:08 p.m.
Hello all Just curious: is there a library function like dropWhile, but which returns last dropped element along with the remainder of the list? If not, how can I write one - without explicit recursion - without traversing the list more than once - without traversing more of the list than necessary