CurryInfo: cdbi-3.2.0 / Database.CDBI.ER.avg

definition:
avg :: Specifier -> ColumnDescription _ -> Fun Float
avg spec (ColDesc name _ _ _) =
  ("Avg( "++ (trSpecifier spec),
  (ColDesc name SQLTypeFloat (\f -> (SQLFloat f)) getFloatValue))
demand:
argument 2
deterministic:
deterministic operation
documentation:
--- Constructor for aggregation function avg
--- in select-clauses.
--- A pseudo-ResultColumnDescription of type
--- float is created for correct return type.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,{ColDesc}) |-> {(,)}}
name:
avg
precedence:
no precedence defined
result-values:
{(,)}
signature:
Database.CDBI.Criteria.Specifier
-> Database.CDBI.Description.ColumnDescription a
-> (String, Database.CDBI.Description.ColumnDescription Prelude.Float)
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
possibly non-reducible on same data term