Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Provide ST-like interface for building stuff #7

Open
garyb opened this issue Oct 24, 2017 · 1 comment
Open

Provide ST-like interface for building stuff #7

garyb opened this issue Oct 24, 2017 · 1 comment

Comments

@garyb
Copy link
Member

garyb commented Oct 24, 2017

So for instance a Layer is created ST-style and then frozen, and can no longer be mutated. That way we get a pure interface safely, as you can only locally mutate while building, and then the effectfulness is restricted to actually setting layers on a chart, etc.

There may be a good reason why it's not possible to do this, but it's an idea anyway 😄

@beckyconning
Copy link

Or potentially build up some data structure and lenses (although ST certainly has benefits).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants