Working on a new task. How to implement recursion to modify a string or list with multiple edits where all edits are composited to one string or list?
“passepartout” where all vowels (a,e,i,o,u) are replaced with #\8
I have been trying to experiment with the accum object in a loop and it is making a bit more sense but I am now at a stage where I have to use multiple inlets into the lambda function for the accum object. (The string to modify and the letters which will be modified). How do you use the recursion ‘loose unconnected inlet’ with multiple variables? How does it know how to map?
Any help is appreciated.
Recursion Implementation.omp (9.8 KB)