Skip to content

Conversation

@JLimperg
Copy link
Collaborator

This commit adds a low-priority meta instance which concludes
has_to_string α from has_to_format α. The instance has to be meta
since format is meta. This means that for most types, it is still
preferable to give a non-meta has_to_string instance manually.

This commit adds a low-priority meta instance which concludes
`has_to_string α` from `has_to_format α`. The instance has to be meta
since `format` is meta. This means that for most types, it is still
preferable to give a non-meta `has_to_string` instance manually.
@JLimperg
Copy link
Collaborator Author

I'm not actually sure that this is a good idea, because of the meta issue. For meta types like name and expr, this instance is fine, but for non-meta types, people should really define both has_to_format and has_to_string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants