idp_solver.utils

Various utilities (in particular, OrderedSet)

idp_solver.utils.indented = '\n '

Module that monkey-patches json module when it’s imported so JSONEncoder.default() automatically checks for a special “to_json()” method and uses it to encode the object if found.

class idp_solver.utils.OrderedSet(els=[])[source]

a list of expressions without duplicates (first-in is selected)