Using foldl to cascade functions
So here I have singleton list  
     
    [([("*" "1"),("/" "5"),("*" "10")],"")]

I have to take the `fst $ head` of it which is  

    [("*" "1"),("/" "5"),("*" "10")]

Combine it with a simple string `"5"`, and transform it into 

    (("*" "10") (("/" "5") (("* "1") "5")))

I know this would involve either `foldl` or `foldr`, but I just cant get it right...

This is for a parser project, I could post all the background information, but that would be too much.

Thanks in advance.



Using foldl to cascade functions
===

So here I have singleton list  
     
    [([("*" "1"),("/" "5"),("*" "10")],"")]

I have to take the `fst $ head` of it which is  

    [("*" "1"),("/" "5"),("*" "10")]

Combine it with a simple string `"5"`, and transform it into 

    (("*" "10") (("/" "5") (("* "1") "5")))

I know this would involve either `foldl` or `foldr`, but I just cant get it right...

This is for a parser project, I could post all the background information, but that would be too much.

Thanks in advance.


