Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are F# quotations?

Tags:

f#

quotations

What are "quotations" in F#, and what are they used for?

like image 492
FSharp Quotations Avatar asked Aug 23 '10 14:08

FSharp Quotations


People also ask

What is F1 f2 F3 F4 f5 f6 f7 F8 f9 f10 f11 F12?

The function keys or F-keys on a computer keyboard, labeled F1 through F12, are keys that have a special function defined by the operating system, or by a currently running program. They may be combined with the Alt or Ctrl keys.

What are F keys used for?

The F1 through F12 FUNCTION keys have special alternate commands. These keys are called enhanced function keys. Enhanced function keys provide quick access to frequently used commands that can increase your productivity. These commands are typically printed above or on the keys.

What does F4 do on a keyboard?

The F4 key is a function key found at the top of almost all computer keyboards. The key is often used with the Alt and Ctrl keys to close open windows and tabs.

What is F13 on keyboard?

F13. Displays a window that lists the mnemonic commands for fast path menu travel. You can choose the menu or screen you want from the window or enter the command from a menu. Check for new E-mail. Shift + F3.


2 Answers

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

https://stackoverflow.com/questions/tagged/F%23+quotations

like image 192
Brian Avatar answered Sep 28 '22 08:09

Brian


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.

like image 29
Marcelo Cantos Avatar answered Sep 28 '22 08:09

Marcelo Cantos