-
Notifications
You must be signed in to change notification settings - Fork 20
Are there any restrictions on return types? #83
Comments
An item can take on values of two general types primitive types (e.g., string, int, Boolean) as well as recursive "Terms types" (e.g., The unary operator |
So it sounds like anything I could represent in JSON, I could represent in Dyna? |
Yes, JSON is a subset of what's representable in Dyna. At the moment, JSON is close fit for what's implemented in this language prototype since we don't yet support variable-variable unification (as in Prolog). Generally speaking, our types are (going to be) "tree automata with equality constraints". |
Fantastic! I can't wait to use this. |
Great! Let us know how it goes! |
This language looks amazing!
The tutorial leads me to believe the arguments to a functor must be strings or integers:
A very cursory glance at this paper leads me to believe that a Dyna functor's return type can be specified as any type, or left unrestricted.
Is that so?
(I apologize if I'm asking this question in the wrong place; if that's so, please let me know where to move it.)
The text was updated successfully, but these errors were encountered: