core-logic

2020-11-25T08:59:00.023500Z

hmm, maybe i can create something based on ==

2020-11-25T09:00:49.025400Z

(instanto string instant) such that if string and instant are grounded, check if (= (parse-instant string) instant if only string is grounded, bind instant to (parse-string string) if only instant is grounded, bind string to (format-string instant)

2020-11-25T09:04:01.026100Z

i'll have to figure out how to handle the case where both are unbounded

2020-11-25T09:29:05.028700Z

You would need to basically store your relation until either becomes ground and check again, which is more or less how constraints work

2020-11-25T10:02:13.030100Z

yeah that makes sense, what i need is basically equality modulo parsing/formatting, so it should work similar how the constraints enforce equality