Example project for CI/CD Sprintwoche of SCDH, written in Haskell.
import Palindrome
isPalindrome "racecar" -- True
isPalindrome "()()" -- False
isPalindrome [1,2,3,2,1] -- True
isPalindrome [] -- True
isPalindrome "a" -- TrueThis is a standard GHC/cabal project. Get GHC and cabal via ghcup.
$ cd palindrome-check
$ cabal build --only-dependencies
$ cabal build
This project has unit/property tests and doctests:
$ cabal test palindrome-test
$ cabal test doctest
Or run buth with cabal test.
$ cabal haddock
Documentation created: [...]/doc/html/palindrome-check/
The API docs are also available on GitLab pages.
Package releases are continuously generated on tags named ^v[\d.]+$, for example v0.1.0.
(c) 2025 Mirko Westermeier
Released under the MIT license. See LICENSE for details.