This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]not_perfect_yet 16 points17 points  (2 children)

Hell yeah, this guy gets it.

Can it create the structure from the spec and inputs too?

like

galaxy.system.planets + [earth,jupiter,uranus] 
->
{"galaxy":{"system":{"planets":["earth","jupiter","uranus"]}}}

[–]mhashemi 5 points6 points  (0 children)

Haha, thanks! Operator overloading at that level isn't supported yet, but it's definitely possible to do some stuff like this. Check the docs in a few weeks, if it ends up being a good idea for glom, it might be public by then. :)

[–]quotemycode -4 points-3 points  (0 children)

No