This PR refactors our post_process_inner function to use slice pattern matching instead of the previous iterator based approach.
Motivation
Reason for this change it to make it easier to extend the match for patterns longer than just the first 2 atoms (which is something I wanted to do to fix #701).
Slices for post_processing!
Description
This PR refactors our post_process_inner function to use slice pattern matching instead of the previous iterator based approach.
Motivation
Reason for this change it to make it easier to extend the match for patterns longer than just the first 2 atoms (which is something I wanted to do to fix #701).
Checklist
Checklist before merging: