chr -package:midi package:haskell-gi-base

The toEnum method restricted to the type Char.