distribution-nixpkgs-1.2: Types and functions to manipulate the Nixpkgs distribution

Safe HaskellNone
LanguageHaskell2010

Language.Nix.PrettyPrinting

Contents

Description

Internal pretty-printing helpers for Nix expressions.

Synopsis

Documentation

Re-exports from other modules

class Text a #

Note: this class will soon be deprecated. It's not yet, so that we are -Wall clean.

Instances
Text Bool 
Instance details

Defined in Distribution.Text

Methods

disp :: Bool -> Doc #

parse :: ReadP r Bool #

Text Int 
Instance details

Defined in Distribution.Text

Methods

disp :: Int -> Doc #

parse :: ReadP r Int #

Text Version 
Instance details

Defined in Distribution.Text

Methods

disp :: Version -> Doc #

parse :: ReadP r Version #

Text OS 
Instance details

Defined in Distribution.System

Methods

disp :: OS -> Doc #

parse :: ReadP r OS #

Text Arch 
Instance details

Defined in Distribution.System

Methods

disp :: Arch -> Doc #

parse :: ReadP r Arch #

Text Platform 
Instance details

Defined in Distribution.System

Methods

disp :: Platform -> Doc #

parse :: ReadP r Platform #

Text Binding 
Instance details

Defined in Language.Nix.Binding

Methods

disp :: Binding -> Doc #

parse :: ReadP r Binding #

Text Path 
Instance details

Defined in Language.Nix.Path

Methods

disp :: Path -> Doc #

parse :: ReadP r Path #

Text Identifier 
Instance details

Defined in Language.Nix.Identifier

Text a => Text (Identity a) 
Instance details

Defined in Distribution.Text

Methods

disp :: Identity a -> Doc #

parse :: ReadP r (Identity a) #

disp :: Text a => a -> Doc #