allAfterLastElementOf el (x : xs) acc =
  if el == x then
    allAfterLastElementOf el xs []
  else
    allAfterLastElementOf el xs (acc ++ [x])
allAfterLastElementOf el (x : xs) acc =
  if el == x then
    allAfterLastElementOf el xs []
  else
    allAfterLastElementOf el xs (acc ++ [x])
allAfterLastElementOf el (x : xs) acc =
  if el == x then
    allAfterLastElementOf el xs []
  else
    allAfterLastElementOf el xs (acc ++ [x])