Answer to Question equation-10

  prefix([],  n) = []
  prefix(L,   0) = []
  prefix(h:t, n) = h:prefix(t, n-1)    (when n > 0)