mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
![]() In F# the `'` is prepended to an identifier to indicate it is generic in type and function signatures: ``` let fn (x: 'a ) (y: 'b) = ... type Box< 'a, 'b > () = ... type Inter = abstract Op : 'a -> 'b -> 'c ``` It is also common convention to append it to binding names as it is a valid identifier char, e.g. `let x = 10 in let x' = x + 5`. These usages are vastly more common than using `'` to surround a character literal and as such the auto close behavior is incredibly annoying when writing F#. |
||
---|---|---|
.. | ||
syntaxes | ||
test | ||
language-configuration.json | ||
OSSREADME.json | ||
package.json |