Annotated Fields #2735
OAGr
started this conversation in
Squiggle Improvement Proposal
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(This is for after we have types, but it seemed good to start figuring out).
If I have a
dist
, I can add to it a:If I have a form that accepts a
dist
field, I'd also want it to take in things like:We use decorators and Tags ("tag.name()") to give this metadata for regular variables. It would also be really useful if we could use a similar system for "fields".
Think:
Such a system would allow for these to be automatically converted into calculators, better Plots, and so on.
Beta Was this translation helpful? Give feedback.
All reactions