cueckoo
cueckoo
_Original reply by @zombiezen in https://github.com/cuelang/cue/issues/454#issuecomment-666488096_ I just realized that the downcasting should probably imply unifying with its value, so my desired solution would actually look like: ``` #Object({ #MyTemplate...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/454#issuecomment-678640610_ > I just realized that the downcasting should probably imply unifying with its value, Yes, absolutely, it would imply unification. The original spec had...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/454#issuecomment-678641344_ Note an objection against the `Foo{}` syntax would be that it is too much an easy substitute for `Foo&{}` disabling the "closedness" checking and...
_Original reply by @proppy in https://github.com/cuelang/cue/issues/454#issuecomment-694969934_ I wonder if having a binary operators like Python has for sets: - `&` for interestion - `-` for difference - `^` for symetic...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/454#issuecomment-738947932_ @proppy : I think having full set logic is entering scary territory. Perhaps in a struct package. @zombiezen : a problem with the `T(V)`...
_Original reply by @mpvl in https://github.com/cuelang/cue/issues/607#issuecomment-741038336_ I'm not entirely sure I understand what you're asking. But `load` _should_ read all files to its internal `fs` which uses Overlay. So that...
_Original reply by @verdverm in https://github.com/cuelang/cue/issues/607#issuecomment-741162675_ I'm seeing issues with the overlay, I think because of the `makeAbs` function, though not confirmed yet. I've added some printing, working on a...
_Original reply by @verdverm in https://github.com/cuelang/cue/issues/607#issuecomment-741291770_ I think I found the issue: 1. https://github.com/cuelang/cue/blob/master/cue/load/config.go#L483 2. https://github.com/cuelang/cue/blob/master/cue/load/fs.go#L64 3. https://github.com/cuelang/cue/blob/master/cue/load/fs.go#L122 - At (1) `c.Dir` will always become an absolute path - At...
_Original reply by @tonyhb in https://github.com/cuelang/cue/issues/607#issuecomment-782782262_ Using Overlay with 1.16's FS to embed my packages in my binary and ran into this. Also notice that there are a few filesystem...
_Original reply by @verdverm in https://github.com/cuelang/cue/issues/607#issuecomment-782808533_ There are other places where Cue uses the local FS. In particular, this was a recent bugfix: https://github.com/cuelang/cue/commit/a6169255715d7fcd71ab70ac53902be22df5f2a0 Cue has a WASM playground, maybe...