Sha256: 86c04de8d36bc84aaec47e8b62e298594ff849c94fef26ac232270deb8c9fdc5

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

.TH Max
.PP
Maximal value
.SH Signature
.PP
.RS
.nf
max(expr: AttrName|(Tuple->Numeric)) -> Aggregator
.fi
.RE
.SH Examples
.PP
.RS
.nf
max(:qty)
.fi
.RE
.PP
.RS
.nf
max{|t| t.qty * t.price }
.fi
.RE
.PP
.RS
.nf
max(->(t){ t.qty * t.price })
.fi
.RE
.SH Description
.PP
Returns the greatest of input values.
.SH Implementation notes
.PP
This aggregate function must only be used with comparable types. As of
current Alf version, it does not aggregate empty sets correctly.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alf-shell-0.16.4 doc/man/max.man
alf-shell-0.16.0 doc/man/max.man
alf-shell-0.15.0 doc/man/max.man