Skip to content

Is there a way to convert Pairs<'_, T> into Pairs<'_, U> when T: Into<U>? #935

Answered by tomtau
dgkf asked this question in Q&A
Discussion options

You must be logged in to vote

And is it needed to construct Pairs? What if instead you defined a custom (abstract?) syntax tree type and mapped all those language Pairs into it?

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@dgkf
Comment options

@tomtau
Comment options

Answer selected by dgkf
@dgkf
Comment options

@tomtau
Comment options

@dgkf
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants