GHC.StgToJS.Linker.Opt

ghc-9.14.0.20251028: The GHC API

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>
Stability | experimental
Safe Haskell | None
Language | GHC2021

GHC.StgToJS.Linker.Opt

Description

Optimization pass at link time

Synopsis

- pretty :: JsRender doc => Bool -> JStat -> doc
- optRenderJs :: RenderJs doc

# Documentation

pretty :: JsRender doc => Bool -> JStat -> doc Source #

optRenderJs :: RenderJs doc Source #

Render JS with code size minimization enabled