Conditionals in lists #713
-
It is now possible to include multiple comprehensions and
Returns:
However it doesn't seem possible to include multiple items in the
Returns:
Is there a workaround or plans to make this work ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'll leave @mpvl to comment on whether anything like this would ever make sense. But for now you can:
|
Beta Was this translation helpful? Give feedback.
-
This discussion has been migrated to cue-lang/cue#713. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
I'll leave @mpvl to comment on whether anything like this would ever make sense.
But for now you can: