Go ProSign in

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.

You must be a Member to view code