Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Generalise Hoogle.doc and add a docWith | Neil Mitchell | 2008-08-13 | 1 | -5/+11 | |
| | ||||||
* | Add support for type synonyms to Hoogle, was accidentally missing before ↵ | Neil Mitchell | 2008-08-12 | 1 | -0/+5 | |
| | | | | (woops!) | |||||
* | Output all items, even if they are not defined in this module - ensures map ↵ | Neil Mitchell | 2008-08-12 | 1 | -8/+1 | |
| | | | | comes from Prelude, not just GHC.Base | |||||
* | Follow changes to Binary in GHC 6.9 | David Waern | 2008-08-13 | 1 | -1/+78 | |
| | ||||||
* | Follow changes to parseDynamic- parseStaticFlags in GHC | David Waern | 2008-08-13 | 1 | -0/+4 | |
| | ||||||
* | Follow extensible exceptions changes | David Waern | 2008-08-13 | 1 | -8/+8 | |
| | ||||||
* | Follow move of package string functions from PackageConfig to Module | David Waern | 2008-08-13 | 4 | -5/+11 | |
| | ||||||
* | Follow changes to parseDynamic/StaticFlags | David Waern | 2008-08-12 | 1 | -1/+7 | |
| | ||||||
* | Hide <.> from GHC import in Hoogle only for ghc <= 6.8.3 | David Waern | 2008-08-12 | 1 | -0/+4 | |
| | ||||||
* | Comment out H.GHC.loadPackages - it is unused and doesn't build with ghc >= 6.9 | David Waern | 2008-08-12 | 1 | -2/+3 | |
| | ||||||
* | Remove matching on NoteTy in AttachInstances, it has been removed | David Waern | 2008-08-12 | 1 | -3/+1 | |
| | ||||||
* | Make our .haddock file version number depend on the GHC version | David Waern | 2008-08-12 | 1 | -1/+17 | |
| | | | | | | We need to do this, since our .haddock format can potentially change whenever GHC's version changes (even when only the patchlevel changes). | |||||
* | Import Control.OldException instead of C.Exception when using ghc >= 6.9 | David Waern | 2008-08-11 | 1 | -0/+7 | |
| | | | | | We should really test for base version instead, but I don't currently know which version to test for. | |||||
* | Make H.GHC.Utils build with GHC HEAD | David Waern | 2008-08-10 | 1 | -1/+10 | |
| | ||||||
* | Filter out separately exported ATs (take two) | David Waern | 2008-08-03 | 2 | -2/+9 | |
| | ||||||
* | Do not filter out doc declarations | David Waern | 2008-08-03 | 1 | -0/+2 | |
| | ||||||
* | Move some utility functions from H.I.Create to H.GHC.Utils | David Waern | 2008-08-03 | 2 | -22/+21 | |
| | ||||||
* | Fix layout | David Waern | 2008-08-03 | 1 | -9/+9 | |
| | ||||||
* | Filter out more declarations and keep only vanilla type sigs in classes | David Waern | 2008-08-03 | 1 | -5/+18 | |
| | ||||||
* | Filter out separately exported ATs | David Waern | 2008-08-03 | 1 | -1/+13 | |
| | | | | | This is a quick and dirty hack to get rid of separately exported ATs. We haven't decided how to handle them yet. No warning message is given. | |||||
* | Use isVanillaLSig from GHC API instead of home brewn function | David Waern | 2008-08-03 | 1 | -6/+1 | |
| | ||||||
* | Move reL to H.GHC.Utils so we can use it everywhere | David Waern | 2008-08-03 | 2 | -2/+4 | |
| | ||||||
* | Filter out more declarations | David Waern | 2008-08-03 | 1 | -14/+25 | |
| | | | | | | The previous refactorings in H.I.Create introduced a few bugs. Filtering of some types of declarations that we don't handle was removed. This patch fixes this. | |||||
* | Filter out ForeignExports | David Waern | 2008-08-03 | 1 | -4/+15 | |
| | ||||||
* | Do not export ATs when not in list of subitems | David Waern | 2008-07-29 | 1 | -1/+8 | |
| | ||||||
* | Move unL from H.B.Hoogle to H.GHC.Utils | David Waern | 2008-07-29 | 2 | -1/+4 | |
| | | | | I like Neil's shorter unL better than unLoc from the GHC API. | |||||
* | Support type equality predicates | David Waern | 2008-07-28 | 1 | -0/+1 | |
| | ||||||
* | Warning messages | David Waern | 2008-07-25 | 1 | -7/+34 | |
| | | | | | | Output a warning when filtering out data/type instances and associated types in instances. We don't show these in the documentation yet, and we need to let the user know. | |||||
* | Simplify definition of pretty and trace_ppr | David Waern | 2008-07-25 | 1 | -2/+2 | |
| | ||||||
* | Print parenthesis around non-atomic banged types | David Waern | 2008-07-24 | 1 | -1/+1 | |
| | | | | Fixes half of #44 | |||||
* | Drop unnecessary parenthesis in types, put in by the user | David Waern | 2008-07-24 | 1 | -9/+9 | |
| | | | | | | | | | | | | | We were putting in parenthesis were the user did. Let's remove this since it just clutters up the types. The types are readable anyway since we print parens around infix operators and do not rely on fixity levels. When doing this I discovered that we were relying on user parenthesis when printin types like (a `O` b) c. This patchs fixes this problem so that parenthesis are always inserted around an infix op application in case it is applied to further arguments, or if it's an arguments to a type constructor. Tests are updated. | |||||
* | FIX #44: Propagate parenthesis level when printing documented types | David Waern | 2008-07-24 | 1 | -1/+1 | |
| | ||||||
* | Be compatible with GHC 6.8.3 | David Waern | 2008-07-23 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | The cabal file is converted to use the "new" syntax with explicit Library and Executable sections. We define the __GHC_PATCHLEVEL__ symbol using a conditinal cpp-options field in the cabal file. (Ideally, Cabal would define the symbol for us, like it does for __GLASGOW_HASKELL__). We use these symbols to #ifdef around a small difference between 6.8.2 and 6.8.3. Previously, we only supported GHC 6.8.2 officially but the dependencies field said "ghc <= 6.9". This was just for convenience when testing against the (then compatible) HEAD version of GHC, and was left in the release by mistake. Now, we support both GHC 6.8.2 and 6.8.3 and the dependencies field correctly reflects this. | |||||
* | Resolve conflicts in H.B.Hoogle | David Waern | 2008-07-20 | 1 | -0/+3 | |
| | ||||||
* | Print type signatures with brackets around the name | Neil Mitchell | 2008-07-10 | 1 | -3/+9 | |
| | ||||||
* | Put brackets round operators in more places in the Hoogle output | Neil Mitchell | 2008-07-10 | 1 | -3/+13 | |
| | ||||||
* | Remove the TODO in the Hoogle HTML generation, was already done | Neil Mitchell | 2008-07-10 | 1 | -1/+0 | |
| | ||||||
* | Remove any white space around a <li> element | Neil Mitchell | 2008-06-26 | 1 | -1/+3 | |
| | ||||||
* | Fix a bug in the Hoogle backend, unordered lists were being written out ↵ | Neil Mitchell | 2008-06-26 | 1 | -1/+1 | |
| | | | | <ul>...</u> | |||||
* | Flesh out the Hoogle code to render documentation | Neil Mitchell | 2008-06-26 | 1 | -4/+100 | |
| | ||||||
* | Add support for Hoogle writing ForeignImport/ForeignExport properly | Neil Mitchell | 2008-06-26 | 1 | -0/+2 | |
| | ||||||
* | Remove the indent utility function from Hoogle backend | Neil Mitchell | 2008-06-26 | 1 | -1/+0 | |
| | ||||||
* | Change how the Hoogle backend outputs classes, adding the context in | Neil Mitchell | 2008-06-26 | 1 | -1/+12 | |
| | ||||||
* | Follow changes to ExportDecl in Hoogle | David Waern | 2008-07-20 | 1 | -2/+6 | |
| | ||||||
* | Preparation for rendering instances as separate declarations | David Waern | 2008-07-20 | 6 | -83/+189 | |
| | | | | | | | | | We want to be able to render instances as separate declarations. So we remove the Name argument of ExportDecl, since instances are nameless. This patch also contains the first steps needed to gather type family instances and display them in the backend, but the implementation is far from complete. Because of this, we don't actually show the instances yet. | |||||
* | Small touches | David Waern | 2008-07-13 | 1 | -5/+4 | |
| | ||||||
* | Remove unused import from H.I.Create | David Waern | 2008-07-13 | 1 | -2/+0 | |
| | ||||||
* | Remove FastString import and FSLIT macro in H.I.Create -- they were unused | David Waern | 2008-07-13 | 1 | -2/+0 | |
| | ||||||
* | Refactoring in H.Interface.Create | David Waern | 2008-07-13 | 3 | -196/+128 | |
| | | | | | | | | | | | | | | | | | | | | | | | | We were creating a doc map, a declaration map and a list of entities separately by going through the HsGroup. These structures were all used to build the interface of a module. Instead of doing this, we can start by creating a list of declarations from the HsGroup, then collect the docs directly from this list (instead of using the list of entities), creating a documentation map. We no longer need the Entity data type, and we can store a single map from names to declarations and docs in the interface, instead of the declaration map and the doc map. This way, there is only one place where we filter out the declarations that we don't want, and we can remove a lot of code. Another advantage of this is that we can create the exports directly out of the list of declarations when we export the full module contents. (Previously we did a look up for each name to find the declarations). This is faster and removes another point where we depend on names to identify exported declarations, which is good because it eliminates problems with instances (which don't have names). | |||||
* | Get the all locally defined names from GHC API | David Waern | 2008-07-12 | 3 | -8/+3 | |
| | | | | | | We previously had some code to compute all locally defined names in a module including subordinate names. We don't need it since we can get the names from modInfoTyThings in the GHC API. |