Exercises
(1). What are the types of the following values?. Exercises. [’a’,’b’,’c’] (’a’,’b’,’c’) [(False,’0’),(True,’1’)] ([False,True],[’0’,’1’]) [tail,init,reverse]. (2). (3). What are the types of the following functions?. Check your answers using Hugs. second xs = head (tail xs)
403 views • 31 slides