Following on from someoneâs discovery that <_>::method()
is valid, I got thinking about the leftâswimming and rightâswimming turbofishes, and decided that making an owlâs face out of it, <_>::v::<_>
, should be possible. Hereâs what I came up with:
(Fun fact: the artwork of the awakened owl happened by accident. For inference to work, I needed both the Self
type and one generic type to be in the return type, so (Self, T)
was the obvious type to use. Then, integers seemed the natural types to implement things on, and zero is the easiest number to use. And so I ended up with (0, 0)
, which I then realised was a picture in itself! The O
type alias is then just to mix things up a bit. Empty tuples would work as well, yielding ((), ())
, but that didnât feel quite as nice.)
Changelog