Currently the function `#set` is marked as total (with `functional` attribute). But it's not actually defined in the case where the key _is_ in the `Map`, but the value associated with the key _is not_ an `Int`.