Closed saep closed 6 years ago
After reading https://www.fpcomplete.com/blog/2017/06/readert-design-pattern and https://www.fpcomplete.com/blog/2017/06/tale-of-two-brackets, I think it might be worth simplifying the basic stack used. One can always put something like an MVar inside the reader environment and use runStateT when necessary.
MVar
I may be able to remove ResourceT as well and actually fix freeing some autocmds with this simplification.
This is almost done in master.
After reading https://www.fpcomplete.com/blog/2017/06/readert-design-pattern and https://www.fpcomplete.com/blog/2017/06/tale-of-two-brackets, I think it might be worth simplifying the basic stack used. One can always put something like an
MVar
inside the reader environment and use runStateT when necessary.