|
|
|
|
|
by piaste
1613 days ago
|
|
I brought up symbols because ameliaquining's declared requirements match symbols to a T: > I don't want to think about the question of runtime representation; I just want a set of arbitrary symbols that are different from one another. I wouldn't know how such requirements translate into value for her. Personally, when I need a set of type-checked fixed values, I favour string literal unions because a readable runtime representation eventually comes in handy. The only time I recall using symbols was in order to have a "newtype"-like construct, which is a different thing entirely. |
|