Why a symbol starting with a number needs to be between brackets?

it’s a parsing thing, I’m not sure why but :1 gets parsed as 1, so it tries to do 1 * day.

You want Symbol("1day"), as :(1day) is creating an expression, which is different.

2 Likes