-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol type (evaluated to itself, e.g. for type expressions) #1277
Comments
related
|
Similar to Wolfram m-expressions: https://en.wikipedia.org/wiki/M-expression I also wonder if we want |
Hm you can also makes slices. For Or does it need to be:
Or
|
Useful in Hay, but also proc param signatures ? Although I guess those can be arbitary expressions that are unevaluated So they don't even need to be symbol values? Just expressions Only needed on the RHS for Hay |
Should behave something like Python
How to create it?
Or a builtin can create it:
Hay
Is
%foo
a Symbol or a string? It can be an auto-created symbolSymbol('foo')
Does
%foo == 'foo'
? Probably notBut
Dict == Dict
, yesIdentity is an interned strings? Plus children? Might relate to Hay tree as well
Restrict number of children like Python does?
Dict[int]
is invalid. Probably not? This can be done by the consumer of the structureHow to serialize it? As JSON lists? I guess that works.
The text was updated successfully, but these errors were encountered: