cueckoo

Results 280 comments of cueckoo

_Original reply by @verdverm in https://github.com/cuelang/cue/issues/350#issuecomment-858069441_ Maybe some code examples of what you are thinking would help the discussion. I wouldn't expect CUE to be able to differentiate regardless of...

_Original reply by @ymolists in https://github.com/cuelang/cue/issues/350#issuecomment-858076502_ i am refferring to something like [dagger](https://github.com/dagger/examples/blob/7c746b47b0fee645120355edd0365a08dc277338/voteapp/.dagger/env/staging/plan/main.cue#L7). One could be making a call similar to Line 7 that is backed by a builtin ?...

_Original reply by @verdverm in https://github.com/cuelang/cue/issues/350#issuecomment-858165312_ CUE attributes were designed for this purpose, dagger is a good example of a tool built around CUE. I built https://github.com/hofstadter-io/hof as a tool...

_Original reply by @rvadhavk in https://github.com/cuelang/cue/issues/407#issuecomment-638372642_ I don't think this should be a bulitin. It'd be better to have a generic method of creating user-defined types with these semantics. Like...

_Original reply by @rvadhavk in https://github.com/cuelang/cue/issues/407#issuecomment-638656581_ Another similar problem is expressing date and time ranges, which I don't think is currently possible in cue (unless you just using unix epoch...

_Original reply by @verdverm in https://github.com/cuelang/cue/issues/407#issuecomment-639001241_ I think you are right, so I'll update this to be semver as a built in package in Cue. See the 'pkg/**' packages available....

_Original reply by @myitcv in https://github.com/cuelang/cue/issues/407#issuecomment-639254536_ The simplicity of not allowing re-definition of `

_Original reply by @mpvl in https://github.com/cuelang/cue/issues/407#issuecomment-760496843_ @rvadhavk: time.Time enforces a proper string type and you can just use string comparison for ordering. There is no need to redefine `

_Original reply by @rudolph9 in https://github.com/cuelang/cue/issues/253#issuecomment-571805831_ [related slack thread](https://cuelang.slack.com/archives/CLT3ULF6C/p1578428986057800)

_Original reply by @mpvl in https://github.com/cuelang/cue/issues/253#issuecomment-571981648_ This does simplify things considerably, which is good. For good measure, let me bring up some clarifications and concerns: > Change the behavior of...