I'm using with sexp
syntax to generate s-exp functions automagically.
The problem is data structures I'm printing with sexplib have some recursive pointers and printing will end up with stack overflow.
So I need to override a to_sexp function and make it just return "(SomeRecursiveData)"
, how can I do that ?
NOTE: My data definitions are in form:
type somedata ...
and someotherdata ...
and this_is_problematic_recursive_data
and ....
with sexp