When proving, in the direction from enumerators to decidable languages. The proof I know is as follows:
But how can one knows if langague L is finite or not, as we only have an enumerator for this language, and I don't think an enumator halts (or should halt) if the language is finite?