This concludes my series of posts about queries. I will still discuss them occassionally and if anyone has any specific questions then I would be very glad to address them.
Query Expression Posts
What are queries? How are queries treated by the compiler?
How are local variables introduced by queries?
What are expression trees? What are lambdas translated into?
What mental models are useful in reading and writing query expressions? What are the scoping rules for queries?
How can we think about query evaluation? Is it possible to think of queries in terms of the queries and not the rewrites? What is the conceptual model for Linq to Objects queries?
What causes Linq to Objects queries to be lazily evaluated? How are the results computed? What underlies the conceptual model for Linq to Objects? Why do queries exhibit their debugging behavior?
What constitutes good error messages? How are effective error messages for queries generated in the face of type inference and significant syntactic sugar?
Are there other models for query interpretation besides an imperative one? Why are some queries declarative and others not?