distribution-nixpkgs-1.1.1: 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 where #

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

Methods

disp :: a -> Doc #

Instances

Text Bool 

Methods

disp :: Bool -> Doc #

parse :: ReadP r Bool #

Text Int 

Methods

disp :: Int -> Doc #

parse :: ReadP r Int #

Text Version 

Methods

disp :: Version -> Doc #

parse :: ReadP r Version #

Text OS 

Methods

disp :: OS -> Doc #

parse :: ReadP r OS #

Text Arch 

Methods

disp :: Arch -> Doc #

parse :: ReadP r Arch #

Text Platform 

Methods

disp :: Platform -> Doc #

parse :: ReadP r Platform #

Text Binding 

Methods

disp :: Binding -> Doc #

parse :: ReadP r Binding #

Text Path 

Methods

disp :: Path -> Doc #

parse :: ReadP r Path #

Text Identifier 
Text a => Text (Identity a) 

Methods

disp :: Identity a -> Doc #

parse :: ReadP r (Identity a) #

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