diff options
| author | Iavor S. Diatchki <iavor.diatchki@gmail.com> | 2012-01-24 22:11:44 -0800 |
|---|---|---|
| committer | Iavor S. Diatchki <iavor.diatchki@gmail.com> | 2012-01-24 22:11:44 -0800 |
| commit | 5851f84733f4ef1ee158b911febd753ced619555 (patch) | |
| tree | 8840092a97618c214810d0fcb52ef17e204dbbea /compiler/codeGen/CgExtCode.hs | |
| parent | 9c1575228173218a3cfa06ddbec3865b12d87713 (diff) | |
| download | haskell-5851f84733f4ef1ee158b911febd753ced619555.tar.gz | |
Add support for type-level "strings".
These are types that look like "this" and "that".
They are of kind `Symbol`, defined in module `GHC.TypeLits`.
For each type-level symbol `X`, we have a singleton type, `TSymbol X`.
The value of the singleton type can be named with the overloaded
constant `tSymbol`. Here is an example:
tSymbol :: TSymbol "Hello"
Diffstat (limited to 'compiler/codeGen/CgExtCode.hs')
0 files changed, 0 insertions, 0 deletions
