average-vr-56795
12/11/2018, 7:39 PMaloof-angle-91616
12/11/2018, 7:40 PMaverage-vr-56795
12/11/2018, 7:42 PMaloof-angle-91616
12/11/2018, 7:43 PMaverage-vr-56795
12/11/2018, 7:44 PMtuple<HydratedTarget>
aloof-angle-91616
12/11/2018, 7:44 PMaloof-angle-91616
12/11/2018, 7:44 PMCollection.of()
to type-check its contents somehow, let me look at that for a secaloof-angle-91616
12/11/2018, 7:51 PMaloof-angle-91616
12/11/2018, 7:52 PMaloof-angle-91616
12/11/2018, 7:54 PMsatisfied_by
, and allow `TypeConstraint`s to do arbitrary checking things there, with the knowledge that it runs synchronously. i don't think this is a bad idea whatsoeveraloof-angle-91616
12/11/2018, 7:56 PMobj_type
in satisfied_by_type
(for example) to also allow an instance of some other specific class which represents a collection (also not a bad idea, less scary and probably cleaner)aloof-angle-91616
12/11/2018, 7:57 PM__eq__()
method and have a canary so satisfied_by()
can't be overridden (which gives us the ability to do (1) later, if we want)aloof-angle-91616
12/11/2018, 7:57 PMaloof-angle-91616
12/11/2018, 7:58 PMaloof-angle-91616
12/11/2018, 8:01 PM@classproperty
to datatypes which returns a tuple of types for the datatype fields, or instead of a type, a field may instead be associated with an object that represents a parameterized collectionaloof-angle-91616
12/11/2018, 8:02 PMTypeConstraint
handle collections separately, i thinkaloof-angle-91616
12/11/2018, 8:03 PMaloof-angle-91616
12/11/2018, 8:03 PMaloof-angle-91616
12/11/2018, 8:03 PMaloof-angle-91616
12/11/2018, 8:04 PM