ninetynine-1.3.0: Ninety-Nine Haskell Problems
CopyrightCopyright (C) 2021 Yoo Chung
LicenseGPL-3.0-or-later
Maintainerdev@chungyc.org
Safe HaskellSafe-Inferred
LanguageGHC2021

Problems.P05

Description

Part of Ninety-Nine Haskell Problems. Some solutions are in Solutions.P05.

Synopsis

Documentation

myReverse :: [a] -> [a] Source #

Reverse a list.

Examples

>>> myReverse "A man, a plan, a canal, panama!"
"!amanap ,lanac a ,nalp a ,nam A"
>>> myReverse [1,2,3,4]
[4,3,2,1]