| CIS 554 -- Haskell Quiz | Name
__________________________________ |
' ') from the string named line. ' ') in the string named line with asterisks ('*'). True if the string named line contains an asterisk ('*').line. You may assume that line is not an empty string. (Hint: foldl1 and foldr1 do not require a starting value.) line1 and line2 of equal length, return a string containing the smaller of each pair of corresponding characters. For example, given "haskell" and "clojure", return "caojele". (Hint: My solution uses zip, min, and a list comprehension.) f, g, and h are functions, and x and y are numbers, what is the difference between f g h x y and f $ g $ h x y ? :t in ghci). map flip map
nth element of a nonempty list (counting the head of the list as element 1). Assume that the list contains at least n elements, that is, do no error checking.