summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Function.hs
Commit message (Collapse)AuthorAgeFilesLines
* hi haddock: Lex and store haddock docs in interface filesZubin Duggal2022-03-231-0/+2
| | | | | | | | | | | | | | | | | | Names appearing in Haddock docstrings are lexed and renamed like any other names appearing in the AST. We currently rename names irrespective of the namespace, so both type and constructor names corresponding to an identifier will appear in the docstring. Haddock will select a given name as the link destination based on its own heuristics. This patch also restricts the limitation of `-haddock` being incompatible with `Opt_KeepRawTokenStream`. The export and documenation structure is now computed in GHC and serialised in .hi files. This can be used by haddock to directly generate doc pages without reparsing or renaming the source. At the moment the operation of haddock is not modified, that's left to a future patch. Updates the haddock submodule with the minimum changes needed.
* Make modules in base stable.Hécate Moonlight2022-02-281-1/+1
| | | | fix #18963
* Fix doc for Data.Function.fix.Javran Cheng2019-05-211-1/+1
| | | | Doc-only change.
* Fix ambiguous/out-of-scope Haddock identifiersAlec Theriault2018-08-211-3/+5
| | | | | | | | | | | | | | | | | This drastically cuts down on the number of Haddock warnings when making docs for `base`. Plus this means more actual links end up in the docs! Also fixed other small mostly markup issues in the documentation along the way. This is a docs-only change. Reviewers: hvr, bgamari, thomie Reviewed By: thomie Subscribers: thomie, rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5055
* docs(Data.Function): fix and augment `on` annotationGabriel Lebec2018-04-071-7/+7
|
* Loads of doc(test)sDavid Luposchainsky2017-08-171-2/+23
|
* Convert `/Since: .../` to new `@since ...` syntaxHerbert Valerio Riedel2014-12-161-1/+1
| | | | | | Starting with Haddock 2.16 there's a new built-in support for since-annotations Note: This exposes a bug in the `@since` implementation (see e.g. `Data.Bits`)
* Be consistent with placement of Safe Haskell mode at top of fileDavid Terei2014-11-211-1/+1
|
* Export `Traversable()` and `Foldable()` from PreludeHerbert Valerio Riedel2014-09-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | This exposes *only* the type-classes w/o any of their methods. This is the very first step for implementing BPP (see #9586), which already requires breaking up several import-cycles leading back to `Prelude`. Ideally, importing `Prelude` should be avoided in most `base` modules, as `Prelude` does not define any entities, but rather re-exports existing ones. Test Plan: validate passes Reviewers: ekmett, austin Reviewed By: ekmett, austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D209 GHC Trac Issues: #9586
* base: replace ver 4.7.1.0 references by 4.8.0.0Herbert Valerio Riedel2014-09-091-1/+1
| | | | | | | Since we now had to major bump due to AMP being landed, `base-4.7.1.0` is not gonna happen, as we're going straight for a `base-4.8.0.0` release. [skip ci] since this is a doc-only change
* Add reverse application operator Data.Function.(&)Alexander Berntsen2014-04-191-0/+11
| | | | | | | | | Add `&` as the reverse application operator with `infixl 1`, which allows it to be nested in `$` (re #9008). Approved by the core libraries committee on 2013-10-14. This also bumps the `base` version number to 4.7.1.0
* Update base for latest Safe Haskell.David Terei2011-10-251-0/+4
|
* SafeHaskell: Added SafeHaskell to baseDavid Terei2011-06-181-0/+1
|
* Fix more warningsIan Lynagh2008-08-201-1/+1
|
* move fix to Data.FunctionRoss Paterson2006-11-101-0/+6
|
* import PreludeRoss Paterson2006-11-101-0/+2
|
* Added Data.Function (Trac ticket #979).Nils Anders Danielsson2006-11-101-0/+75
+ A module with simple combinators working solely on and with functions. + The only new function is "on". + Some functions from the Prelude are re-exported.