Sha256: 46d13b14bf4e9f8cca800b2ef0b47a7ca6254e56261742855a65a4d98450be3e

Contents?: true

Size: 475 Bytes

Versions: 3

Compression:

Stored size: 475 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.3 doc/man/max.man
alf-shell-0.16.2 doc/man/max.man
alf-shell-0.16.1 doc/man/max.man