on master help sign in
Merge pull request #1040 from david-christiansen/issue/1019

Show terms more prettily

commitc0747090599531be72b524236438b47913c9196e authorEdwin Brady <edwin.brady@gmail.com> dateWed 9 Apr 2014, 13:48 (13 years ago) parent4e7a0ee5f3627c
1 file changed+3−1
src/Idris/AbsSyntaxTree.hs+3−1
src/Idris/AbsSyntaxTree.hs+3−1
@@ -1447,7 +1447,9 @@ showName ist bnd impl colour n = case ist of
14471447showTm :: IState -- ^^ the Idris state, for information about identifiers and colours
14481448 -> PTerm -- ^^ the term to show
14491449 -> String
1450−showTm ist = displayDecorated (consoleDecorate ist) . renderCompact . prettyImp (opt_showimp (idris_options ist))
1450+showTm ist = displayDecorated (consoleDecorate ist) .
1451+ renderPretty 0.8 100000 .
1452+ prettyImp (opt_showimp (idris_options ist))
14511453
14521454-- | Show a term with implicits, no colours
14531455showTmImpls :: PTerm -> String