-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding parameter with trafo a bit tricky #248
Comments
This is totally right. But how often does it occur? Can we prevent the problem of dynamically changing a ParamSet in another way? In ParamHelpers we spent much time implementing stuff to allow these dynamic changes and realized in the end that we actually don't use it that much. Often it is much easier to do thin in another place. Btw, I had a paradox ParamSet combine function that did exactly that but it got scraped: Lines 248 to 278 in c7c39fd
|
Isn't this nearly the same issue? |
You can basically achieve exactly what you want Martin trough clean functional composition? |
Suppose a
ParamSet
contains parameters that have a trafo, and one wants to add a new parameter that also has a trafo. OldParamHelpers
could do this incrementally, by doingwith paradox this is harder because the
$trafo
is overwritten, so one must write the$trafo
function completely with all transformations.The text was updated successfully, but these errors were encountered: