The minimum between self and c (prefer self if equals)

Property definitions

core $ Comparable :: min
	# The minimum between `self` and `c` (prefer `self` if equals)
	fun min(c: OTHER): OTHER
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/kernel.nit:362,2--370,4

core $ UInt32 :: min
	redef fun min(c)
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/fixed_ints.nit:676,2--683,4

core $ Int8 :: min
	redef fun min(c)
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/fixed_ints.nit:192,2--199,4

core $ Int16 :: min
	redef fun min(c)
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/fixed_ints.nit:313,2--320,4

core $ UInt16 :: min
	redef fun min(c)
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/fixed_ints.nit:434,2--441,4

core $ Int32 :: min
	redef fun min(c)
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/fixed_ints.nit:555,2--562,4

core $ Byte :: min
	redef fun min(c)
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/kernel.nit:689,2--696,4

core $ Float :: min
	redef fun min(c)
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/kernel.nit:591,2--598,4

core $ Int :: min
	redef fun min(c)
	do
		if c < self then
			return c
		else
			return self
		end
	end
lib/core/kernel.nit:794,2--801,4