Post History
Haskell, 74 bytes a=ord 'a' n!c|isLetter c=chr((rem((ord c -a)+n) 26)+a)|True=c f n=map (n!) Try it online!
Answer
#2: Post edited
# [Haskell], 21 bytes- <!-- language-all: lang-hs -->
\n->map(chr.(+n).ord)[Try it online!][TIO-ku0j3mpg]- [Haskell]: https://www.haskell.org/
[TIO-ku0j3mpg]: https://tio.run/##y0gszk7Nyfn/PyZP1y43sUAjOaNIT0M7T1MvvyhF8/9/AA "Haskell – Try It Online"
- # [Haskell], 74 bytes
- <!-- language-all: lang-hs -->
- a=ord 'a'
- n!c|isLetter c=chr((rem((ord c -a)+n) 26)+a)|True=c
- f n=map (n!)
- [Try it online!][TIO-ku19npuc]
- [Haskell]: https://www.haskell.org/
- [TIO-ku19npuc]: https://tio.run/##JY6xTsNADIb3PsWfLL1T00oUClNYYGAoE2zA4KaXXJTkLvI5NKr67uES5MHSZ/v3Zyk0pm2nuus9C15JaPdiiSfKPZ@xpvXKJcWtDkcjYhhFXlhWik2n1LxQYEt64zT2j3pD@vbJg8mLVQmXd9RDuURPYoIE5PhSDxnSt/jOZ7h4bs@7VGdQd4eIhX0710KeIqhGPza42qoSXE9@BFsHVy/z/RxU40JOcGJDTUlBkv@w@/l2@C1RcVMh9tKWqf5ZdVS7KBGt3qG@lcsQNLbP6Af5ED46qCgdmcbiO/0B "Haskell – Try It Online"