Understand the evaluation of the recursion (haskell)

后端 未结 0 1018
栀梦
栀梦 2020-12-14 03:14

I have following code:

foo x y z
 | null x = y
 | null z = y
 | otherwise = foo (tail x) ([head x] ++ y ++ [head z]) (tail z)

and following i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题