This may be a simple problem, but the goal is to process the list recursively. I want to call a function that splits a list in half recursively. My function is shown below. Could I get help to call it recursively so as to get {{ { {1}, {2} }, {3} }, { {4},{5} } }? (I have read Nest and Fold functions usage in doc, though.)
myF[l_List] := Partition[l, [Ceiling[Length[l]/2]]]
myF[{1,2,3,4,5}] (*{{1,2,3},{4,5}}*)
How can I call the myF function recursively and get {{ { {1}, {2} }, {3} }, { {4},{5} } }?