definition:
|
trProg :: (String -> [String] -> [TypeDecl] -> [AFuncDecl a] -> [OpDecl] -> b)
-> AProg a -> b
trProg f (AProg name imps types funcs ops) = f name imps types funcs ops
|
demand:
|
arguments 1 2
|
deterministic:
|
deterministic operation
|
documentation:
|
--- transform program
|
failfree:
|
(_, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,{AProg}) |-> _}
|
name:
|
trProg
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
(String -> [String] -> [FlatCurry.Types.TypeDecl]
-> [FlatCurry.Annotated.Types.AFuncDecl a] -> [FlatCurry.Types.OpDecl] -> b)
-> FlatCurry.Annotated.Types.AProg a -> b
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
reducible on all ground data terms
|