Discrete subgroups of Lie groups, or finite rank free abelian groups equipped with a quadratic form.