You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main property of a symbol/keyword is that it's only equal to itself. This makes it useful for modeling domain-specific values, enums, or used as unique keys in maps.
Symbols in lisps serve a similar function but they actually behave more like interned strings. But namespaced keywords in Clojure match the desired semantics.
What new feature should Elvish have?
A way to create a unique symbols, like JavaScript symbols.
The main property of a symbol/keyword is that it's only equal to itself. This makes it useful for modeling domain-specific values, enums, or used as unique keys in maps.
Symbols in lisps serve a similar function but they actually behave more like interned strings. But namespaced keywords in Clojure match the desired semantics.
Output of "elvish -version"
0.21.0-dev.0.20240430145458-c7d81b20a010
Code of Conduct
The text was updated successfully, but these errors were encountered: