Exact results for N = 2 compactifications of heterotic strings