
Jan. 17, 2022
5:08 p.m.
On 2022-01-17 06:07, Greg Ewing wrote:
U+2744 Snowflake, anyone?
my_frozenset = ❄{1, 2, 3}
That makes me think about using '@': my_frozenset = @{1, 2, 3} It's currently used as a prefix for decorators, but that's at the start of a line. It could be a problem for the REPL, though:
@{1, 2, 3}
Looks like a decorator there, but you could parenthesise it in that case:
(@{1, 2, 3})