Firstly, cheers @potetm for the review. Noted about the lines, and agree it’s easier to read. Regarding passing f to pathseq-to-tree, I originally declared a var path-seq and passed that in. Not quite sure why I did this refactoring but I agree it couples these two separate concerns unduly.
Let me know if there’s anything else I can do :simple_smile: