-could you please answer the following two excercises In haskell programming. ..
ID: 3890370 • Letter: #
Question
-could you please answer the following two excercises In haskell programming.
.. Haskell-the-craft-of-functional-programming·pdf-Adobe Acrobat Reader DC File Edit View Window Help Home Tools Haskell-the-craft-of...X Sign In Export PDF Create PDF Edit PDF Comment Combine Files Organize Pages v 4.55 Define a function isPalin:: String -> Bool which tests whether a string is a palindrome that is whether it reads the same both backwards and forwards. An example is the string Madam I'm Adam Note that punctuation and white space are ignored in the test, and that no distinction is made between capital and small letters. You might first like to develop a test which simply tests whether the string is exactly the same backwards and forwards, and only afterwards take account of punctuation and capital letters Fill & Sign Send for Signature 4.56 [Harder Design a function -. Send & Track subst String - String ->String -> String so that subst oldSub newSub st is the result of replacing thc first occurrence in st of the substring oldsub by the substring newSub. For instance + More Tools subst "much "tall" "How much is that?" "How tall is that?" Store and share files in the Document Cloud If the substring oldSub does not occur in st, the result should be st. Learn More O Type here to search , ENG 3:50 PM 9/24/20173Explanation / Answer
-- 4.55 =>>
-- 4.56 =>>
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.