Exercise 2
Exercise 3
Transform an integer into a lowercase letter (where 0 is a
and
25 is z
).
shift :: Int -> Char -> CharSource
Shift a lowercase letter by a given number of positions in the alphabet.
encode :: Int -> String -> StringSource
Shift all lowercase letters in the input string by a given number of positions in the alphabet, thereby applying Caesar's cipher.