Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Futhark prettyprinter. This module defines Pretty
instances
for the AST defined in Futhark.IR.Syntax,
but also a number of convenience functions if you don't want to use
the interface from Pretty
.
Documentation
prettyTuple :: Pretty a => [a] -> String Source #
Prettyprint a list enclosed in curly braces.
class (RepTypes rep, Pretty (RetType rep), Pretty (BranchType rep), Pretty (FParamInfo rep), Pretty (LParamInfo rep), Pretty (LetDec rep), Pretty (Op rep)) => PrettyRep rep where Source #
The class of representations whose annotations can be prettyprinted.
Nothing
Instances
PrettyRep Seq Source # | |
PrettyRep SOACS Source # | |
PrettyRep SeqMem Source # | |
PrettyRep MCMem Source # | |
PrettyRep MC Source # | |
PrettyRep GPU Source # | |
PrettyRep GPUMem Source # | |
(ASTRep rep, CanBeAliased (Op rep)) => PrettyRep (Aliases rep) Source # | |
(PrettyRep rep, CanBeWise (Op rep)) => PrettyRep (Wise rep) Source # | |