Home
last modified time | relevance | path

Searched refs:Pretty (Results 1 – 25 of 3633) sorted by relevance

12345678910>>...146

/dports/lang/ghc/ghc-8.10.7/libraries/pretty/src/Text/PrettyPrint/Annotated/
H A DHughesPJClass.hs25 Pretty(..),
96 instance (Pretty a) => Pretty (Maybe a) where
101 instance (Pretty a, Pretty b) => Pretty (Either a b) where
107 instance (Pretty a) => Pretty [a] where
110 instance (Pretty a, Pretty b) => Pretty (a, b) where
114 instance (Pretty a, Pretty b, Pretty c) => Pretty (a, b, c) where
118 instance (Pretty a, Pretty b, Pretty c, Pretty d) => Pretty (a, b, c, d) where
123 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e) => Pretty (a, b, c, d, e) where
128 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f) => Pretty (a, b, c, d, e, f) …
134 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f, Pretty g) =>
[all …]
/dports/lang/ghc/ghc-8.10.7/libraries/pretty/src/Text/PrettyPrint/
H A DHughesPJClass.hs24 Pretty(..),
95 instance (Pretty a) => Pretty (Maybe a) where
100 instance (Pretty a, Pretty b) => Pretty (Either a b) where
106 instance (Pretty a) => Pretty [a] where
109 instance (Pretty a, Pretty b) => Pretty (a, b) where
113 instance (Pretty a, Pretty b, Pretty c) => Pretty (a, b, c) where
117 instance (Pretty a, Pretty b, Pretty c, Pretty d) => Pretty (a, b, c, d) where
122 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e) => Pretty (a, b, c, d, e) where
127 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f) => Pretty (a, b, c, d, e, f) …
133 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f, Pretty g) =>
[all …]
/dports/lang/elm/compiler-0.19.1/_cabal_deps/prettyclass-1.0.0.0/src/Text/PrettyPrint/
H A DHughesPJClass.hs5 Pretty(..),
58 instance (Pretty a) => Pretty (Maybe a) where
61 instance (Pretty a, Pretty b) => Pretty (Either a b) where
65 instance (Pretty a) => Pretty [a] where
68 instance (Pretty a, Pretty b) => Pretty (a, b) where
72 instance (Pretty a, Pretty b, Pretty c) => Pretty (a, b, c) where
76 instance (Pretty a, Pretty b, Pretty c, Pretty d) => Pretty (a, b, c, d) where
80 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e) => Pretty (a, b, c, d, e) where
84 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f) => Pretty (a, b, c, d, e, f) …
88 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f, Pretty g) =>
[all …]
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/Utils/
H A DPretty.hs4 module Agda.Utils.Pretty
5 ( module Agda.Utils.Pretty
49 class Pretty a where constructor
83 instance Pretty a => Pretty (Maybe a) where
87 instance Pretty a => Pretty [a] where
90 instance Pretty a => Pretty (List1 a) where
96 instance Pretty a => Pretty (Set a) where
99 instance Pretty a => Pretty (IntMap a) where
102 instance (Pretty k, Pretty v) => Pretty (Map k v) where
142 prettyMap :: (Pretty k, Pretty v) => [(k,v)] -> Doc
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/dhall-1.38.1/src/Dhall/Pretty/
H A DInternal.hs216 Pretty.align (Pretty.concatWith f newLines <> suffix)
478 Pretty.group (Pretty.flatAlt long short)
545 . Pretty.punctuate Pretty.hardline
676 Pretty.group (Pretty.flatAlt long short)
754 Pretty.group (Pretty.flatAlt long short)
829 Pretty.group (Pretty.flatAlt long short)
848 Pretty.group (Pretty.flatAlt long short)
869 Pretty.group (Pretty.flatAlt long short)
1355 Pretty.group (Pretty.flatAlt long short)
1779 Pretty.renderString . layout . Pretty.pretty
[all …]
/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/language-c-0.8.3/src/Language/C/Analysis/
H A DDebug.hs27 import Language.C.Pretty
33 prettyAssocs :: (Pretty k, Pretty v) => String -> [(k,v)] -> Doc
41 instance Pretty DefTable where
57 prettyMap :: (Pretty t, Pretty k) => String -> Map k t -> Doc
77 instance (Pretty a, Pretty b) => Pretty (Either a b) where
89 instance Pretty Ident where
91 instance Pretty SUERef where
94 instance Pretty TagDef where
102 instance Pretty Decl where
131 instance Pretty Type where
[all …]
/dports/www/twiki/twiki/lib/CGI/
H A DPretty.pm1 package CGI::Pretty;
7 $CGI::Pretty::VERSION = '4.13';
9 $CGI::Pretty::AutoloadClass = 'CGI';
10 @CGI::Pretty::ISA = qw( CGI );
17 return if !$CGI::Pretty::LINEBREAK || !$CGI::Pretty::INDENT;
21 foreach my $i ( @CGI::Pretty::AS_IS ) {
135 return CGI::start_html( @_ ) . $CGI::Pretty::LINEBREAK;
139 return CGI::end_html( @_ ) . $CGI::Pretty::LINEBREAK;
163 $CGI::Pretty::INDENT = "\t";
166 $CGI::Pretty::LINEBREAK = $/;
[all …]
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/megaco/src/engine/
H A Dmegaco_filter.erl207 Pretty =
215 Pretty =
237 Pretty = pretty_error({error, Reason}),
245 Pretty = pretty_error(ED),
279 Pretty = pretty(ConnData, H),
282 Pretty = pretty(ConnData, CmdReq),
288 Pretty = pretty_error(Error),
294 Pretty = pretty(ConnData, MegaMsg),
297 Pretty = pretty(ConnData, MegaMsg),
338 Pretty = pretty(ConnData, Other),
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/megaco/src/engine/
H A Dmegaco_filter.erl207 Pretty =
215 Pretty =
237 Pretty = pretty_error({error, Reason}),
245 Pretty = pretty_error(ED),
279 Pretty = pretty(ConnData, H),
282 Pretty = pretty(ConnData, CmdReq),
288 Pretty = pretty_error(Error),
294 Pretty = pretty(ConnData, MegaMsg),
297 Pretty = pretty(ConnData, MegaMsg),
338 Pretty = pretty(ConnData, Other),
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/megaco/src/engine/
H A Dmegaco_filter.erl207 Pretty =
215 Pretty =
237 Pretty = pretty_error({error, Reason}),
245 Pretty = pretty_error(ED),
279 Pretty = pretty(ConnData, H),
282 Pretty = pretty(ConnData, CmdReq),
288 Pretty = pretty_error(Error),
294 Pretty = pretty(ConnData, MegaMsg),
297 Pretty = pretty(ConnData, MegaMsg),
338 Pretty = pretty(ConnData, Other),
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/megaco/src/engine/
H A Dmegaco_filter.erl207 Pretty =
215 Pretty =
237 Pretty = pretty_error({error, Reason}),
245 Pretty = pretty_error(ED),
279 Pretty = pretty(ConnData, H),
282 Pretty = pretty(ConnData, CmdReq),
288 Pretty = pretty_error(Error),
294 Pretty = pretty(ConnData, MegaMsg),
297 Pretty = pretty(ConnData, MegaMsg),
338 Pretty = pretty(ConnData, Other),
[all …]
/dports/lang/erlang/otp-OTP-24.1.7/lib/megaco/src/engine/
H A Dmegaco_filter.erl207 Pretty =
215 Pretty =
237 Pretty = pretty_error({error, Reason}),
245 Pretty = pretty_error(ED),
279 Pretty = pretty(ConnData, H),
282 Pretty = pretty(ConnData, CmdReq),
288 Pretty = pretty_error(Error),
294 Pretty = pretty(ConnData, MegaMsg),
297 Pretty = pretty(ConnData, MegaMsg),
338 Pretty = pretty(ConnData, Other),
[all …]
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/megaco/src/engine/
H A Dmegaco_filter.erl207 Pretty =
215 Pretty =
237 Pretty = pretty_error({error, Reason}),
245 Pretty = pretty_error(ED),
279 Pretty = pretty(ConnData, H),
282 Pretty = pretty(ConnData, CmdReq),
288 Pretty = pretty_error(Error),
294 Pretty = pretty(ConnData, MegaMsg),
297 Pretty = pretty(ConnData, MegaMsg),
338 Pretty = pretty(ConnData, Other),
[all …]
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/megaco/src/engine/
H A Dmegaco_filter.erl207 Pretty =
215 Pretty =
237 Pretty = pretty_error({error, Reason}),
245 Pretty = pretty_error(ED),
279 Pretty = pretty(ConnData, H),
282 Pretty = pretty(ConnData, CmdReq),
288 Pretty = pretty_error(Error),
294 Pretty = pretty(ConnData, MegaMsg),
297 Pretty = pretty(ConnData, MegaMsg),
338 Pretty = pretty(ConnData, Other),
[all …]
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-exactprint-0.6.4/src/Language/Haskell/GHC/ExactPrint/
H A DPretty.hs158 go :: AnnotationF (Pretty a) -> Pretty a
200 addEofAnnotation :: Pretty ()
343 withSrcSpanPretty :: Data a => GHC.Located a -> Pretty b -> Pretty b
365 -> Pretty b -> Pretty b
370 -> Pretty b -> Pretty b
466 fromNoPrecedingSpace :: Pretty a -> Pretty a -> Pretty a
536 setLayoutFlag :: Pretty () -> Pretty ()
546 setNoPrecedingSpace :: Pretty a -> Pretty a
555 setContextPretty :: Set.Set AstContext -> Int -> Pretty () -> Pretty ()
559 unsetContextPretty :: AstContext -> Pretty () -> Pretty ()
[all …]
/dports/deskutils/mindforger/mindforger-1.52.0/lib/src/gear/
H A Ddatetime_utils.cpp85 enum class Pretty enum
107 Pretty pretty = Pretty::LONG_TIME_AGO; in datetimeToPrettyHtml()
111 pretty = Pretty::TODAY; in datetimeToPrettyHtml()
114 pretty = Pretty::THIS_WEEK; in datetimeToPrettyHtml()
116 pretty = Pretty::THIS_YEAR; in datetimeToPrettyHtml()
121 pretty = Pretty::THIS_WEEK; in datetimeToPrettyHtml()
128 case Pretty::LONG_TIME_AGO: in datetimeToPrettyHtml()
132 case Pretty::THIS_YEAR: in datetimeToPrettyHtml()
136 case Pretty::THIS_WEEK: in datetimeToPrettyHtml()
141 case Pretty::TODAY: in datetimeToPrettyHtml()
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/Syntax/Concrete/
H A DPretty.hs104 instance (Pretty a, Pretty b) => Pretty (a, b) where
110 instance Pretty a => Pretty (WithHiding a) where
158 instance Pretty a => Pretty (MaybePlaceholder a) where
235 instance (Pretty a, Pretty b) => Pretty (Either a b) where
267 instance Pretty a => Pretty (Binder' a) where
641 instance Pretty a => Pretty (Arg a) where
648 instance Pretty e => Pretty (Named_ e) where
723 instance (Pretty a, Pretty b) => Pretty (ImportDirective' a b) where
742 instance (Pretty a, Pretty b) => Pretty (Using' a b) where
747 instance (Pretty a, Pretty b) => Pretty (Renaming' a b) where
[all …]
/dports/databases/py-pglast/pglast-1.2/docs/
H A Ddml.rst19Pretty print a `node` of type `A_ArrayExpr <https://github.com/lfittl/libpg_query/blob/d710cb0/src…
25Pretty print a `node` of type `A_Const <https://github.com/lfittl/libpg_query/blob/d710cb0/src/pos…
31Pretty print a `node` of type `A_Expr <https://github.com/lfittl/libpg_query/blob/d710cb0/src/post…
37Pretty print a `node` of type `A_Indices <https://github.com/lfittl/libpg_query/blob/d710cb0/src/p…
77Pretty print a `node` of type `A_Star <https://github.com/lfittl/libpg_query/blob/d710cb0/src/post…
83Pretty print a `node` of type `Alias <https://github.com/lfittl/libpg_query/blob/d710cb0/src/postg…
89Pretty print a `node` of type `BoolExpr <https://github.com/lfittl/libpg_query/blob/d710cb0/src/po…
143Pretty print a `node` of type `Float <https://github.com/lfittl/libpg_query/blob/d710cb0/src/postg…
167Pretty print a `node` of type `Integer <https://github.com/lfittl/libpg_query/blob/d710cb0/src/pos…
209Pretty print a `node` of type `Null <https://github.com/lfittl/libpg_query/blob/d710cb0/src/postgr…
[all …]
H A Dddl.rst19Pretty print a `node` of type `ColumnDef <https://github.com/lfittl/libpg_query/blob/d710cb0/src/p…
25Pretty print a `node` of type `CommentStmt <https://github.com/lfittl/libpg_query/blob/d710cb0/src…
31Pretty print a `node` of type `Constraint <https://github.com/lfittl/libpg_query/blob/d710cb0/src/…
37Pretty print a `node` of type `CreateAmStmt <https://github.com/lfittl/libpg_query/blob/d710cb0/sr…
43Pretty print a `node` of type `CreateCastStmt <https://github.com/lfittl/libpg_query/blob/d710cb0/…
132Pretty print a `node` of type `CreateStmt <https://github.com/lfittl/libpg_query/blob/d710cb0/src/…
157Pretty print a `node` of type `DefineStmt <https://github.com/lfittl/libpg_query/blob/d710cb0/src/…
163Pretty print a `node` of type `DefElem <https://github.com/lfittl/libpg_query/blob/d710cb0/src/pos…
194Pretty print a `node` of type `DropStmt <https://github.com/lfittl/libpg_query/blob/d710cb0/src/po…
224Pretty print a `node` of type `IndexStmt <https://github.com/lfittl/libpg_query/blob/d710cb0/src/p…
[all …]
/dports/x11-toolkits/p5-Tk/Tk-804.035/examples/
H A Dcbtest4 use Tk::Pretty;
8 &Tk::Pretty::PrintArgs;
14 &Tk::Pretty::PrintArgs;
18 print Pretty(Tk::Callback->new(\&lots)->Call('a'..'d')),"\n";
19 print Pretty(Tk::Callback->new([\&lots,'A'..'F'])->Call('a'..'d')),"\n";
20 print Pretty(Tk::Callback->new(\&one)->Call('a'..'d')),"\n";
21 print Pretty(Tk::Callback->new([\&one,'A'..'F'])->Call('a'..'d')),"\n";
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/utils/
H A DOutputable.hs102 import qualified Pretty
364 | n==0 = Pretty.text "..."
523 = let s = Pretty.style{ Pretty.mode = PageMode,
532 = let s = Pretty.style{ Pretty.mode = OneLineMode,
534 Pretty.renderStyle s $
539 = let s = Pretty.style{ Pretty.mode = OneLineMode,
541 Pretty.renderStyle s $
585 then docToSDoc $ Pretty.hex n
634 semi = docToSDoc $ Pretty.semi
635 comma = docToSDoc $ Pretty.comma
[all …]
/dports/lang/ghc/ghc-8.10.7/compiler/utils/
H A DOutputable.hs102 import qualified Pretty
364 | n==0 = Pretty.text "..."
523 = let s = Pretty.style{ Pretty.mode = PageMode,
532 = let s = Pretty.style{ Pretty.mode = OneLineMode,
534 Pretty.renderStyle s $
539 = let s = Pretty.style{ Pretty.mode = OneLineMode,
541 Pretty.renderStyle s $
585 then docToSDoc $ Pretty.hex n
634 semi = docToSDoc $ Pretty.semi
635 comma = docToSDoc $ Pretty.comma
[all …]
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/dhall-1.38.1/src/Dhall/
H A DFormat.hs16 import Dhall.Pretty (CharacterSet, annToAnsiStyle, detectCharacterSet)
28 import qualified Data.Text.Prettyprint.Doc as Pretty
30 import qualified Data.Text.Prettyprint.Doc.Render.Text as Pretty.Text
32 import qualified Dhall.Pretty
63 Dhall.Pretty.layout
64 ( Pretty.pretty header
65 <> Dhall.Pretty.prettyCharacterSet characterSet expr
94 let formattedText = Pretty.Text.renderStrict docStream
104 (Pretty.Text.renderLazy docStream)
109 Pretty.Terminal.renderIO
[all …]
/dports/lang/elm/compiler-0.19.1/_cabal_deps/language-glsl-0.3.0/Language/GLSL/
H A DPretty.hs2 module Language.GLSL.Pretty where
24 prettyBinary :: Pretty a =>
29 option :: Pretty a => Maybe a -> Doc
71 instance Pretty Declaration where
84 instance Pretty FullType where
207 instance Pretty Field where
214 instance Pretty Expr where
312 instance Pretty Statement where
336 instance Pretty Compound where
339 instance Pretty Condition where
[all …]
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Utils/
H A DOutputable.hs107 import qualified GHC.Utils.Ppr as Pretty
380 let deeper 0 = Pretty.text "..."
399 = Pretty.text "..."
556 = let s = Pretty.style{ Pretty.mode = PageMode,
565 = let s = Pretty.style{ Pretty.mode = OneLineMode,
567 Pretty.renderStyle s $
572 = let s = Pretty.style{ Pretty.mode = OneLineMode,
574 Pretty.renderStyle s $
664 semi = docToSDoc $ Pretty.semi
665 comma = docToSDoc $ Pretty.comma
[all …]

12345678910>>...146