Fsharp Indentation Syntax (2026)

By Xah Lee. Date: .

fsharp indentation syntax

fsharp indentation syntax 2026-01-13 Zsw9w
fsharp indentation syntax 2026-01-13 Zsw9w
  • F# indentation-based syntax (also called lightweight syntax or #light syntax, inspired by the offside rule) was introduced during the development of early F# versions.
  • According to the official history paper The Early History of F# by Don Syme (the creator of F#), the "light" indentation-aware syntax was added in 2006.

ocaml, fsharp