Have you read the article? This isn't about functional vs. imperative programming, it's (if anything) about two different ways to write functional code.
Keywords "super basic". You learn this in a "my first Haskell" tutorials. Seems tortured in whatever language that is though.