News for hackers. Stuff that matters.
Re:Constraint Programming (2020) by ben-schaaf on Sunday April 16, 2023 @11:56PM (#35596700)
From the docs it's using proper backtracking solvers. It doesn't need introspection to do this, just a python object that "records" its operations, eg:

    def __mul__(self, other):
        return Multiplication(self, other)
Re:Constraint Programming (2020) by default-kramer on Monday April 17, 2023 @05:45PM (#35607047)
Cool trick! I don't know enough Python to have thought of this myself.