Suppose I have a function like:
kua 0 a b = a * b
kua n a b = foldr (kua $ n-1) 1 [a | _ <- [1..b]]
(kua = Knuth's up arrow)
If I were to bind the function to an operator based on the number of 'up-arrows' n,
(|>) = kua 1
(|>>) = kua 2
(|>>>) = kua 3
would there be a way of generalizing the operator based on n?
I am aware, that I could just call kua n, but I am interested if this could be expressed with a single operator for every case.