Copyright | Copyright (C) 2021 Yoo Chung |
---|---|
License | GPL-3.0-or-later |
Maintainer | dev@chungyc.org |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Some solutions to Problems.P06 of Ninety-Nine Haskell Problems.
Synopsis
- isPalindrome :: Eq a => [a] -> Bool
Documentation
isPalindrome :: Eq a => [a] -> Bool Source #
Find out whether a list is a palindrome. A palindrome can be read forward or backward; e.g. "xamax".