Printing shortest decimal form of floating point number with Mir
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Mon Jan 4 14:44:00 UTC 2021
On Monday, 4 January 2021 at 14:40:31 UTC, ag0aep6g wrote:
> You didn't replace "Bar!int" with "Foo!int". You replaced
> "Bar!T" with "Foo!T". That's something else entirely.
No, it isn't. When it is instantiated you get "Bar!int" and then
the unification would substitute that with "Foo!int".
This is basic type system design. Nothing advanced. Just plain
regular unification.
This should even be worth discussing... the fact that it is being
debated isn't promising for D's future...
More information about the Digitalmars-d-announce
mailing list