mightymonkey
03-10-2004, 11:56 PM
Im sure this question is very easy but Im very new to Haskell and dont know how to do this.
I have writtel a function X that takes a character and an integer as input (it returns a character)
I want to write a function that takes a string and an integer, sends each character of the string through the X function with the integer and returns a new string of all the characters changed by the X function.
Regards,
Mixy.
I have writtel a function X that takes a character and an integer as input (it returns a character)
I want to write a function that takes a string and an integer, sends each character of the string through the X function with the integer and returns a new string of all the characters changed by the X function.
Regards,
Mixy.