distribution-nixpkgs-1.0.0.1: Types and functions to manipulate the Nixpkgs distribution.

Safe HaskellSafe
LanguageHaskell2010

Language.Nix.PrettyPrinting

Contents

Description

Internal pretty-printing helpers for Nix expressions.

Synopsis

Documentation

Re-exports from other modules

class Text a where #

Minimal complete definition

disp, parse

Instances

Text Bool 

Methods

disp :: Bool -> Doc #

parse :: ReadP r Bool #

Text Int 

Methods

disp :: Int -> Doc #

parse :: ReadP r Int #

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 Version 

Methods

disp :: Version -> Doc #

parse :: ReadP r Version #

Text Binding 

Methods

disp :: Binding -> Doc #

parse :: ReadP r Binding #

Text Path 

Methods

disp :: Path -> Doc #

parse :: ReadP r Path #

Text Identifier 

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