func format(value: char; format_spec: string = ""): string {. ...raises: [ValueError], tags: [], forbids: [].}
template format[T](value: T; format_spec: string = ""): string