It’s worth noting that this approach relies on term ordering:
number < atom < reference < function < port < pid < tuple < map < list < bitstring
i.e. because nil is actually :nil (i.e. an atom)
number < nil
is always true
It’s worth noting that this approach relies on term ordering:
number < atom < reference < function < port < pid < tuple < map < list < bitstring
i.e. because nil is actually :nil (i.e. an atom)
number < nil
is always true