reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Interlandi <m.interla...@gmail.com>
Subject Re: Tang.BindListEntry
Date Fri, 05 Jan 2018 03:21:02 GMT
Gotcha. My current API is sort of nice because I recursively call the
operator.next and pass a configuration ref so that each operator append its
parameters to the configuration.

I guess I will have to change my API to use BindList..

On Thu, Jan 4, 2018, 6:19 PM Markus Weimer <markus@weimo.de> wrote:

> On Thu, Jan 4, 2018 at 5:51 PM, Matteo Interlandi <m.interlandi@gmail.com>
> wrote:
>
> > 1) I actually need order because I am serializing pipelines of operators
> > one a time and I need to maintain the order in which operators appear. Is
> > this against Tang design?
> >
>
> Kinda. To make Tang safe, the order of .`set()` and `.bind()` calls should
> not matter. That is why you can add elements to a set one at a time, but
> have to bind whole lists as atomic values. If you can live with that, you
> should be fine :)
>
> Markus
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message