Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adapt to HsOuterTyVarBndrs | Ryan Scott | 2020-10-30 | 1 | -1/+16 |
| | | | | | These changes accompany ghc/ghc!4107, which aims to be a fix for #16762. | ||||
* | Improve Syb code (#621) | Doug Wilson | 2017-05-27 | 1 | -6/+49 |
| | | | | | | | | | | | | Specialize.hs and Ast.hs are modified to have their Syb code not recurse into Name or Id in HsSyn types. Specialize.hs is refactored to have fewer calls to Syb functions. Syb.hs has some foldl calls replaced with foldl' calls. There is still a lot of performance on the floor of Ast.hs. The RenamedSource is traversed many times, and lookupBySpan is very inefficient. everywhereBut and lookupBySpan dominate the runtime whenever --hyperlinked-source is passed. | ||||
* | Add SYB-like utility function for performing stateful queries. | Łukasz Hanuszczak | 2015-08-21 | 1 | -1/+15 |
| | |||||
* | Implement generic transformation constructor. | Łukasz Hanuszczak | 2015-08-21 | 1 | -0/+9 |
| | |||||
* | Implement `everywhere` transformation in SYB module. | Łukasz Hanuszczak | 2015-08-21 | 1 | -1/+7 |
| | |||||
* | Move SYB utilities to standalone module. | Łukasz Hanuszczak | 2015-08-21 | 1 | -0/+26 |