[Haskell-beginners] Can you identify this recursion pattern please?