In this paper we intend to unify different approaches to the construction o
f an 'almost-Poisson' bracket for mechanical systems with nonholonomic cons
traints. This almost-Poisson structure is subsequently used to describe the
phase-space dynamics of a nonholonomic system. It is shown that when deali
ng with 'nonhomogeneous' constraints, the Hamiltonian equations of motion c
annot be expressed in terms of the almost-Poisson bracket alone. This fact
is illustrated in the case of mechanical systems with affine constraints. T
he problem of a rolling ball on a rotating table is treated as an example.