The skipCase folding function takes care of upcasing every 2. letter. The folder is a makes it easier to map the function over both capitalization variations, which then can be applied to the input string.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Solution in Haskell using folding:
The
skipCase
folding function takes care of upcasing every 2. letter. Thefolder
is a makes it easier to map the function over both capitalization variations, which then can be applied to the input string.