improve comments in GenerateIntermediate.hs