disco-0.1.6: Functional programming language for teaching discrete math.
Copyrightdisco team and contributors
LicenseBSD-3-Clause
Maintainerbyorgey@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Disco.Pretty.Prec

Description

Precedence and associativity for pretty-printing.

Documentation

type Prec = Int Source #

data PA Source #

Constructors

PA Prec BFixity 

Instances

Instances details
Show PA Source # 
Instance details

Defined in Disco.Pretty.Prec

Methods

showsPrec :: Int -> PA -> ShowS #

show :: PA -> String #

showList :: [PA] -> ShowS #

Eq PA Source # 
Instance details

Defined in Disco.Pretty.Prec

Methods

(==) :: PA -> PA -> Bool #

(/=) :: PA -> PA -> Bool #

Ord PA Source # 
Instance details

Defined in Disco.Pretty.Prec

Methods

compare :: PA -> PA -> Ordering #

(<) :: PA -> PA -> Bool #

(<=) :: PA -> PA -> Bool #

(>) :: PA -> PA -> Bool #

(>=) :: PA -> PA -> Bool #

max :: PA -> PA -> PA #

min :: PA -> PA -> PA #

rPA :: Int -> PA Source #