3 ms·
Either way, in both our examples, what we wrote was very much in a functional style, and Haskell also uses list comprehensions. The only thing unique about the
by epgui 4y ago
Either way, in both our examples, what we wrote was very much in a functional style, and Haskell also uses list comprehensions.
The only thing unique about the Haskell example, I think, was pattern-matching... And while that's nice, you don't really need that for FP.