In this particular case, the workaround is luckily simple:
case String.fromInt n of Just "-1" -> True _ -> False