| Copyright | (c) The University of Glasgow 2001 | 
|---|---|
| License | BSD-style (see the file LICENSE) | 
| Maintainer | Jeffrey Young <jeffrey.young@iohk.io> Luite Stegeman <luite.stegeman@iohk.io> Sylvain Henry <sylvain.henry@iohk.io> Josh Meredith <josh.meredith@iohk.io> | 
| Stability | experimental Code generation of Expressions | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
GHC.StgToJS.Expr
Description
Synopsis
- genExpr :: HasDebugCallStack => ExprCtx -> CgStgExpr -> G (JStat, ExprResult)
 - genEntryType :: HasDebugCallStack => [Id] -> G CIType
 - loadLiveFun :: [Id] -> G JStat
 - genStaticRefsRhs :: CgStgRhs -> G CIStatic
 - genStaticRefs :: LiveVars -> G CIStatic
 - genBody :: HasDebugCallStack => ExprCtx -> StgReg -> [Id] -> CgStgExpr -> Type -> G JStat
 
Documentation
genExpr :: HasDebugCallStack => ExprCtx -> CgStgExpr -> G (JStat, ExprResult) Source #
Evaluate an expression in the given expression context (continuation)
genEntryType :: HasDebugCallStack => [Id] -> G CIType Source #