Question: Define the following functions in Haskell without using the predefined Haskell functions isDigit and toLower: (a) The function myisDigit that checks if a character is
Define the following functions in Haskell without using the predefined Haskell functions isDigit and toLower:
(a) The function myisDigit that checks if a character is a digit.
(b) The function mytoLower that lowers only upper case letters (all other characters should remain unchanged). Hint: Use chr,ord and the definitions of offset and capitalize from class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
