What are "quotations" in F#, and what are they used for?
+6
A:
See
http://msdn.microsoft.com/en-us/library/dd233212.aspx
and possibly
http://en.wikipedia.org/wiki/Homoiconicity
If you want scenarios, I bet you can find some by looking at
Brian
2010-08-23 14:18:14
+3
A:
They are equivalent to Expression<>
objects in C#. They represent the expression tree of the code therein in a way that can be accessed by other code at runtime.
Marcelo Cantos
2010-08-23 14:18:23
Do `Expression<>` objects actually quote code or are they just values representing code?
Jon Harrop
2010-08-31 09:47:47
+1
A:
In short, a quotation is metadata that represents the code of a particular function or code snippet.
http://fortysix-and-two.blogspot.com/2009/06/traversing-and-transforming-f.html
AHungerArtist
2010-08-23 14:19:12