HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

Moduleprettyprinter-configurable-1.36.0.0Haskell2010

Text.PrettyBy.Monad

A monadic interface to configurable pretty-printing.

Synopsis
classclass HasPrettyConfig env config | env -> config where

A constraint for "config is a part of env".

Methods

Instances1HasPrettyConfig
  • HasPrettyConfig (Sole config) configDefined in prettyprinter-configurable-1.36.0.0 · Text.PrettyBy.Fixity

    It's not possible to have HasPrettyConfig config config, because that would mean that every environment is a pretty-printing config on its own, which doesn't make sense. We could have an OVERLAPPABLE instance, but I'd rather not.