But note the implications of this: you cannot use Int.fromString in a signal handler. Worse, if you do, garbage might be returned by a fromString call in the non-handler part of the program.