summaryrefslogtreecommitdiff
path: root/docs/users_guide/index.rst
Commit message (Collapse)AuthorAgeFilesLines
* Deriving for phantom and empty typesDavid Feuer2017-03-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make `Functor`, `Foldable`, and `Traversable` take advantage of the case where the type parameter is phantom. In this case, * `fmap _ = coerce` * `foldMap _ _ = mempty` * `traverse _ x = pure (coerce x)` For the sake of consistency and especially simplicity, make other types with no data constructors behave the same: * `fmap _ x = case x of` * `foldMap _ _ = mempty` * `traverse _ x = pure (case x of)` Similarly, for `Generic`, * `to x = case x of` * `from x = case x of` Give all derived methods for types without constructors appropriate arities. For example, ``` compare _ _ = error ... ``` rather than ``` compare = error ... ``` Fixes #13117 and #13328 Reviewers: austin, bgamari, RyanGlScott Reviewed By: RyanGlScott Subscribers: ekmett, RyanGlScott, rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3374
* Spelling fixesGabor Greif2017-02-021-3/+3
|
* Log heap profiler samples to event logBen Gamari2016-07-161-0/+1
| | | | | | | | | | | | Test Plan: Try it Reviewers: hvr, simonmar, austin, erikd Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1722 GHC Trac Issues: #11094
* docs: add skeleton 8.2.1 release notesAustin Seipp2016-05-121-1/+1
| | | | | | | | | | | | | | | | | | | Summary: Out with the old, in with the new. Not much has diverged yet, but it's good to get this out of the way early. Signed-off-by: Austin Seipp <austin@well-typed.com> Test Plan: Built and looked at the documentation. Reviewers: bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2066
* users-guide: Provide more depth in table-of-contentsBen Gamari2016-03-291-1/+1
| | | | Per Simon's request.
* DWARF: Add debugging information chapter to users guideBen Gamari2016-03-261-0/+1
| | | | | | | | | | Test Plan: Proof-read Reviewers: scpmw, austin Subscribers: simonmar, thomie Differential Revision: https://phabricator.haskell.org/D1369
* users_guide: Move 7.12.1-notes to 8.0.1-notesBen Gamari2015-12-291-1/+1
|
* users_guide: Show sub-sub-sections in ToCBen Gamari2015-12-081-1/+1
|
* Move user's guide to ReStructuredTextBen Gamari2015-10-031-0/+36