Any ordered type should be able to support minimum. Strings would be an example that could support minimum in principle.
-- John On Apr 1, 2014, at 9:41 AM, Andrew Dabrowski <[email protected]> wrote: > I had assumed that minimum only worked when T <: Real. A finite collection > of elements of an arbitrary type need not have a max or min in any natural > sense. > > On Tuesday, April 1, 2014 12:33:39 PM UTC-4, Stefan Karpinski wrote: > Type stability is the main concern and consistency is the other. You want > minimum(::Vector{T}) to return an element of type T but not all T have an > infinite value. >
