Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Abstract data type for displaying the help We are currently displaying the help as a Box from the boxes library but we could as well use Text or Doc () from Prettyprinter
Documentation
newtype Display (a :: Symbol) b c Source #
Data type for displaying elements as Text or Doc - a represents a section of the final document - b is the element to display (or part of that element) - c is the output (Text or Doc)
Instances
Applicative (Display a b) Source # | |
Defined in Data.Registry.Options.Display | |
Functor (Display a b) Source # | |