Exercises
l
Give an equation defining pairWith, such
that
pairWith(X, L) creates a list in which
each element of L is paired with X:
pairWith(3, [1, 2, 3])
==>
[ [3, 1], [3, 2], [3, 3] ]