Concatenate lists with if statement #623
-
Hello, sorry if the question seems stupid but I had a problem understanding how to solve a problem I had. I want to concatenate two lists and the values of those lists depends on a if statement like this :
The problem here is that they (lbDep/ubDep) arent't in the scope of the var "dep".
How is it possible to overcome this or re-define an existing value? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
On tip, at least, you can do this:
|
Beta Was this translation helpful? Give feedback.
-
This discussion has been migrated to cue-lang/cue#623. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
On tip, at least, you can do this: