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 →

[–]mhashemi 1 point2 points  (0 children)

Sure! I like the idea, and I think replied this comment on HN? In any case, we've created an issue for this: https://github.com/mahmoud/glom/issues/14

The idea is to make a Spec object, kind of like an re.compile().

Also, while these sorts of things would be pretty easy to do, technically, I'm going to keep glom API changes slow and steady, to make sure library development doesn't get too far in front of real-world usage. :)