Arrays as hash keys, and hashes as array elements