You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
426 B
426 B
Exercises: More Bottoms
- Bottom
- Will return
2
- Bottom
itIsMyster :: [Char] -> [Bool]
replaces every character in the input toTrue
if it is a vowel andFalse
otherwise.- The answers:
- Squares every value in the list:
[1,4,9,16,26,36,49,64,81,100]
- Takes the smallest element of every sub-list:
[1,10,20]
- Sums every sub-list:
[15,15,15]
map (\x -> bool (x) (-x) (x == 3))
- Squares every value in the list: