F# keywords

Keywords and their use in the F# language are outlined in the following table:

Keyword

Description

abstract

Indicates that either it has no implementation or is a virtual and has default implementation.

begin

In verbose syntax, indicates the start of a code block.

default

Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method.

elif

Used in conditional branching. A short form of else-if.

end

Used in type definitions and type extensions, indicates the end of a section of member definitions.

In verbose syntax, used to specify the end of a code block that starts with the begin keyword.

exception

Used to declare an exception ...

Get .NET Core 2.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.