diff options
| author | RyanGlScott <ryan.gl.scott@gmail.com> | 2015-09-21 21:50:55 -0500 |
|---|---|---|
| committer | Austin Seipp <austin@well-typed.com> | 2015-09-21 21:50:56 -0500 |
| commit | 089b72f524a6a7564346baca9595fcd07081ec40 (patch) | |
| tree | 2354366bd18fe44ddbcbe4953e172f345a374b66 /compiler/prelude/PrelNames.hs | |
| parent | d4d34a73aacc225a8f28d7138137bf548c9e51cc (diff) | |
| download | haskell-089b72f524a6a7564346baca9595fcd07081ec40.tar.gz | |
DeriveLift extension (#1830)
Summary:
This implements -XDeriveLift, which allows for automatic derivation
of the Lift class from template-haskell. The implementation is based
off of Ian Lynagh's th-lift library
(http://hackage.haskell.org/package/th-lift).
Test Plan: ./validate
Reviewers: hvr, simonpj, bgamari, goldfire, austin
Reviewed By: goldfire, austin
Subscribers: osa1, thomie
Differential Revision: https://phabricator.haskell.org/D1168
GHC Trac Issues: #1830
Diffstat (limited to 'compiler/prelude/PrelNames.hs')
| -rw-r--r-- | compiler/prelude/PrelNames.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/prelude/PrelNames.hs b/compiler/prelude/PrelNames.hs index 1684a2f3e0..a6eb834641 100644 --- a/compiler/prelude/PrelNames.hs +++ b/compiler/prelude/PrelNames.hs @@ -599,6 +599,11 @@ minus_RDR = nameRdrName minusName times_RDR = varQual_RDR gHC_NUM (fsLit "*") plus_RDR = varQual_RDR gHC_NUM (fsLit "+") +toInteger_RDR, toRational_RDR, fromIntegral_RDR :: RdrName +toInteger_RDR = nameRdrName toIntegerName +toRational_RDR = nameRdrName toRationalName +fromIntegral_RDR = nameRdrName fromIntegralName + fromString_RDR :: RdrName fromString_RDR = nameRdrName fromStringName @@ -1305,6 +1310,10 @@ knownSymbolClassNameKey = mkPreludeClassUnique 43 ghciIoClassKey :: Unique ghciIoClassKey = mkPreludeClassUnique 44 +---------------- Template Haskell ------------------- +-- USES ClassUniques 200-299 +----------------------------------------------------- + {- ************************************************************************ * * |
