... | @@ -68,15 +68,13 @@ Implementation work on Typed Template Haskell is being done on the `th-new` bran |
... | @@ -68,15 +68,13 @@ Implementation work on Typed Template Haskell is being done on the `th-new` bran |
|
|
|
|
|
1. Check out the `th-new` branch in `testsuite`.
|
|
1. Check out the `th-new` branch in `testsuite`.
|
|
|
|
|
|
1. Configure and build as you would normally (see Building). Note that if you want to use the GHC API to perform run time compilation, you will have to add
|
|
1. Configure and build as you would normally (see Building). Note that if you want to use the GHC API to perform run time compilation, you will have to build a static GHCi by adding the following to your `mk/build.mk`. See [\#7774](https://gitlab.haskell.org//ghc/ghc/issues/7774).
|
|
|
|
|
|
```wiki
|
|
```wiki
|
|
DYNAMIC_BY_DEFAULT = NO
|
|
DYNAMIC_BY_DEFAULT = NO
|
|
|
|
DYNAMIC_GHC_PROGRAMS = NO
|
|
```
|
|
```
|
|
|
|
|
|
>
|
|
|
|
> to your `mk/build.mk` file so that GHC is built statically. See [\#7774](https://gitlab.haskell.org//ghc/ghc/issues/7774).
|
|
|
|
|
|
|
|
### Features
|
|
### Features
|
|
|
|
|
|
1. **A new abstract type of typed expressions**`TExp a`. Internally, this is just a Template Haskell `Exp` with a phantom type.
|
|
1. **A new abstract type of typed expressions**`TExp a`. Internally, this is just a Template Haskell `Exp` with a phantom type.
|
... | | ... | |