-
Clone the repo
-
Go to "palindrome-testing" directory
-
Build and run the project:
$ stack setup $ stack build
-
Run GHC's interactive environment:
$ stack ghci
-
Test function with different arguments. See examples:
> isPalindrome "rotor" True > isPalindrome "robot" False > :q Leaving GHCi. $
-
Run unit tests:
$ stack test