Function-adjustable environments #971
Closed
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
-
It seems like it will be often when we'll want to run some sub-function with a lower sample count. For example, if we want to
integrate
a function by calling it atn
different points, we might want to have a highn
, but a low "sample count per point".I'm not sure how to best do this. One method would be having some functions be able to change the global variables, but I'd assume that's tricky with the reducer. Like,
A different thing we could do is allow functions to accept custom environment over-rides. This is a bit tricky because those over-rides might need to last for each subfunction of those functions.
Beta Was this translation helpful? Give feedback.
All reactions