I think you can also do:

```D
char[1] tmp = cast(char[1])num;
put(tmp[]);
```

However having to use these workarounds is stupid, I had to do the same for https://github.com/D-Programming-Language/phobos/pull/1144. It's really annoying.