summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module/Name.hs
diff options
context:
space:
mode:
authordoyougnu <jeffrey.young@iohk.io>2022-06-02 10:52:58 -0400
committerdoyougnu <jeffrey.young@iohk.io>2022-06-13 13:42:36 -0400
commitc785dd78159dd3f1d25a8f86079cb6e06f48a707 (patch)
treef2ea5531893b8122ef91b49fc5fabe9aa68e4e92 /compiler/GHC/Unit/Module/Name.hs
parent41abd1d56658f03f6ae522240d60807ddb8e055a (diff)
downloadhaskell-c785dd78159dd3f1d25a8f86079cb6e06f48a707.tar.gz
Add JavaScript code generator
Adapt code generator of GHCJS to GHC head. Currently it is only enabled with the hidden -fjavascript flag. It produces .o files that can't be used yet except by GHCJS's linker. Codegen: doc Codegen: correctly return linkable object Now we can build a static library (-staticlib) Codegen: doc genLit Codegen: use assignAll Codegen: introduce TypedExpr Refactor assignAll et al, add documentation Codegen: minor changes Doc
Diffstat (limited to 'compiler/GHC/Unit/Module/Name.hs')
-rw-r--r--compiler/GHC/Unit/Module/Name.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Unit/Module/Name.hs b/compiler/GHC/Unit/Module/Name.hs
index cc5e430bd6..9069124279 100644
--- a/compiler/GHC/Unit/Module/Name.hs
+++ b/compiler/GHC/Unit/Module/Name.hs
@@ -1,7 +1,7 @@
-- | The ModuleName type
module GHC.Unit.Module.Name
- ( ModuleName
+ ( ModuleName (..)
, pprModuleName
, moduleNameFS
, moduleNameString