aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Syb.hs
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to HsOuterTyVarBndrsRyan Scott2020-10-301-1/+16
| | | | | These changes accompany ghc/ghc!4107, which aims to be a fix for #16762.
* Improve Syb code (#621)Doug Wilson2017-05-271-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 Hanuszczak2015-08-211-1/+15
|
* Implement generic transformation constructor.Łukasz Hanuszczak2015-08-211-0/+9
|
* Implement `everywhere` transformation in SYB module.Łukasz Hanuszczak2015-08-211-1/+7
|
* Move SYB utilities to standalone module.Łukasz Hanuszczak2015-08-211-0/+26