I'd like to have different versions of show(s::Sequence) based on the type of s.items. The motivating use case for this is to display Sequences whose items are char as a pretty string.
For now show() is going to have an if else structure to mimic dispatch, but this feels like it should be handled by a parametric type.
I'd like to have different versions of show(s::Sequence) based on the type of s.items. The motivating use case for this is to display Sequences whose items are char as a pretty string.
For now show() is going to have an if else structure to mimic dispatch, but this feels like it should be handled by a parametric type.