Next Previous Up Top Contents Index

5.2 Extensions to the Dylan library

even?

Open generic function, Sealed domain, G.f. method

Summary

Tests whether the argument supplied represents an even value

Library

integers

Module

Signature

even? object => boolean (Open generic function)
even? complex => boolean (Sealed domain)
even? integer => boolean (G.f. method)

zero?

Open generic function

zero? object => boolean 

zero?

Sealed domain

zero? complex 

zero?

G.f. method

zero? machine-number => boolean 

Tests whether the argument supplied represents a zero value.
positive?

Open generic function

positive? object => boolean 

positive?

Sealed domain

positive? complex 

positive?

G.f. method

positive? machine-number => boolean 

Tests whether the argument supplied represents a positive value.
negative?

Open generic function

negative? object => boolean 

negative?

Sealed domain

negative? complex 

negative?

G.f. method

negative? machine-number => boolean 

Tests whether the argument supplied represents a negative value.
integral?

Open generic function

integral? object => boolean 

integral?

Sealed domain

integral? complex 

integral?

G.f. method

integral? machine-number => boolean 

Tests whether the argument supplied represents an integral value.

Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index