Recursion in Purescript

In PureScript, you pattern match against the base case to achieve recursion.

In this lesson, you will learn exactly how to do that by implementing a recursive solution to a factorial function.

Please take a moment to tell your friends:

You must be a PRO Member to view code