cueckoo
cueckoo
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/14#issuecomment-485084942_ @enisoc: thanks for these insights. Regarding guarantees of ordering: currently the ordering is based on the order of appearance of a field within the...
_Original reply by @enisoc in https://github.com/cuelang/cue/issues/14#issuecomment-556980772_ The new "bulk optional fields" syntax got me thinking about this associative list problem again. If I understand the new syntax correctly, it seems...
_Original reply by @extemporalgenome in https://github.com/cuelang/cue/issues/14#issuecomment-774164540_ > Ideally users would just use the native API of whatever system they work on. One of the implications of having a better language/tool,...
_Original reply by @jlongtine in https://github.com/cuelang/cue/issues/14#issuecomment-774404125_ Kevin, I generally agree with this sentiment, but also think that having the ability to create associative arrays would be super helpful in a...
_Original reply by @seh in https://github.com/cuelang/cue/issues/943#issuecomment-832200043_ This is so good to see. One problem to consider with the "Switch" section: You write, more or less, `if a {} else if...
_Original reply by @seh in https://github.com/cuelang/cue/issues/943#issuecomment-832203882_ Also, while `head` is evocative, it does so little that it barely justifies its inclusion. I thought of `coalesce` as a good name for...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/943#issuecomment-832213293_ @seh: yes, `let` could be used here that way, though outside the list. We could perhaps consider allowing `let` in lists. Also, one could...
_Original reply by @seh in https://github.com/cuelang/cue/issues/943#issuecomment-832217894_ I was not sure that CUE has the same notion of "null" values that SQL, HCL, Jsonnet, and other languages have, so the semantics...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/943#issuecomment-835751945_ @seh: you can do else with the switch approach and I’m not in favor of a dedicated If-else construct, as it encourages bad patterns....
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/943#issuecomment-835762509_ @seh in CUE, bottom (incomplete errors, to be more specific) is a bit like `null` in those languages. `null` can mean various things, often...