A unified approach for the pricing of swaps is
given. Starting from the study of cross-currency
swaps being as general as possible with respect to
time (maturity date), principal and interest
rates, a number of special swap constructions is
priced, among them interest-rate swaps and basis
swaps. Several examples demonstrate the formulas
derived.