Surgery

Biopsy from a mole on the foot shows cytologic atypia of melanocytes and diffuse epidermal inflitration by anaplastic cells, which are also present in the papillary and reticular dermis. The most likely diagnosis is -