cueckoo
cueckoo
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/740#issuecomment-774744984_ There is currently no way in CUE to express that a field is required along with an exact concrete value. This is actually a...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/717#issuecomment-778442195_ This would also be useful for fuzzing.
_Original reply by @xinau in https://github.com/cuelang/cue/issues/78#issuecomment-526347337_ @codesuki atm. this is not possible due to the fact that cue has no form of reduce or sum implemented. implementing this functionality could...
_Original reply by @codesuki in https://github.com/cuelang/cue/issues/78#issuecomment-526368902_ Good to know. Thanks! Is this a planned feature? Because of this we are still relying on a custom binary that does config validation....
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/78#issuecomment-526371209_ Actually, after a small bug fix, it is actually possible to compute the sum, it is just: 1. not pretty 2. uses various features...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/78#issuecomment-526510893_ @codesuki Thanks for offering to help. An implementation of builtins is quite easy in CUE, once an API is designed. The problem is designing...
_Original reply by @codesuki in https://github.com/cuelang/cue/issues/78#issuecomment-526823358_ I just left for vacation, I'll get back to this issue once I am back. Thank you for your great answer! Super interesting. I...
_Original reply by @rudolph9 in https://github.com/cuelang/cue/issues/78#issuecomment-526975773_ > This features I would like to deprecate are > > 1. Primitive recursion, as used above, making CUE not Turing Complete (see issue...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/78#issuecomment-527794079_ @codesuki > I totally missed that you can have functions in cue. That was intentional :)
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/78#issuecomment-527798670_ @rudolph9 list.Sum won't support the OPs issue, but it would with adding another builtin. Something like `constraint`, which would turn an arbitrary boolean expression...