Created
December 1, 2020 15:51
-
-
Save newton-migosi/71723094ffb76977767a79c277f21f56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loop 0 runningTotal accumulator = do | |
guard (runningTotal == target) | |
return accumulator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment