CurryInfo: abstract-haskell-3.0.0 / AbstractHaskell.Printer.ppProg

definition: Info
 
ppProg :: Options ->  Prog -> Doc
ppProg opts (Prog m is ts fs os) = compose (<$+$>)
  [ ppHeader  opts' m ts fs
  , ppImports opts' is
  , ppDecls   opts' os ts fs
  ]
 where opts' = opts { currentModule = m }
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Shows an AbstractHaskell program in standard Haskell syntax.
The export list contains the public functions and the
types with their data constructors (if all data constructors are public),
otherwise only the type constructors.
The potential comments in function declarations are formatted as
documentation comments.
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{Prog}) |-> _}
name: Info
 ppProg
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Options -> AbstractHaskell.Types.Prog -> Text.PrettyImpl.Doc
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term