make opts accessible when converting pattern to comprehension