Hacker News new | ask | show | jobs
by k37dhn3 1709 days ago
Here is a generic example: https://cuelang.org/play/?id=LerWxMboqQQ#cue@export@cue

Try changing the values of before and after

1 comments

More generally speaking, CUE has overlap with propagator networks.

Given

x = y + 1 y = x - 1

You can specify either x or y and the other will be solved for. A more powerful PN system can be built on CUE, especially given the DAG solver in the code base