Dealing with Deeply Nested Data Structures


#1

Working with deeply nested data structures is a pain. Sometimes the easiest way to figure out the control structure to get the data that you want is to play around with the data the REPL. My problem is comes from an API, it’s a pain to figure out how to quickly evaluate the structure, make lasting changes to the script, and then jump back into figuring out the structure. In the past, I’ve sucked it up and used the REPL, I’ve written scripts and eval’d integrated the data one change at a time using print, and occasionally, I’ll use jupyter-notebook. None of these solutions seemed to be very good though.


This is a companion discussion topic for the original entry at http://benhoff.net/interactive-debugging-methods.html