I'm pretty new to haskell and I wanted to make a function to take a string and add a certain number to shift the elements of the string.
e.g
addChars "abcd" 2
output -> "cdef"
I was able to do it but with just a single character using:
nextChar :: Char -> Int -> Char
nextChar x y= chr $ ord x + y