Made adding parameters to RHS more robust. Still need to optimise
formatting though.
Working on removing the last declaration from a let/in expression.
Remove the let/in keywords when removing the last decl from a let/in expression.
Test set up, time to dive into the bowels of TokenUtils again.
Starting to make sure that insertSrcSpan preserves prior structure in
the tree
More work on splitting the token tree when bringing in a SrcSpan
Slow progress on inserting a SrcSpan while preserving existing tree.
Not done yet.
Inching toward inserting SrcSpan and preserving existing tree structure.
Slow progress. Nearly there.
More progress. All TokenUtils tests pass.
WIP
Progress, but not done yet.
Progress.
Test demonstrates bug, time to fix it
Problem seems to be not removing the decl from the AST in rmDecl
The long detour is done. Hope Travis likes it.
Added one more test, passing.
MoveDef LiftToToplevel LetIn3 passes
MoveDef LiftToTopLevel PatBindIn1 test added and passes
Working on MoveDef LiftToToplevel PatBindIn3 test