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.
 

10 lines
426 B

# Exercises: More Bottoms
1. Bottom
2. Will return `2`
3. Bottom
4. `itIsMyster :: [Char] -> [Bool]` replaces every character in the input to `True` if it is a vowel and `False` otherwise.
5. The answers:
1. Squares every value in the list: `[1,4,9,16,26,36,49,64,81,100]`
2. Takes the smallest element of every sub-list: `[1,10,20]`
3. Sums every sub-list: `[15,15,15]`
4. `map (\x -> bool (x) (-x) (x == 3))`