Fails with `badarg` on improper lists.