User blog comment:Swooped me in one hit/ Recursion?/@comment-24920136-20170215213046

Soooo functions are like magical boxes that you put stuff into and get other stuff out. Recursion is grabbing the stuff that you got out of the box, and then putting it back into the box. (similar to  when you say "repeat this process").

say i have a function knife that splits bread in half. and i input this loaf of bread [....]

knife([....])  = [..][..]

i can use recursion to split the results in half aswell

like so: knife(knife([....])) = knife([..][..]) = [.][.][.][.]