1. rewrite the previous list literals using only (:) and the empty list constructor [].

1
(('a':[]):('b':[]):('c':[]):[]):(('d':[]):('e':[]):[]):[]

2. Write an expression that checks whether a list is empty, [], or its first element is empty, like [[],[‘a’,’b’]].

1
2
3
4
firstEmpty [] = True
firstEmpty (x:_) = if x == []
then True
else False