From c514d381f003f5f43355c8ae1e842422c1af4f88 Mon Sep 17 00:00:00 2001 From: XperiAndri Date: Sun, 18 Oct 2026 18:05:19 +0200 Subject: [PATCH] docs: count only the postfix levels in the type rule The rule limits the levels of a type that use the postfix ML style. An array in angle brackets or in a tuple adds no postfix level, so `seq` and `struct (int array * int array)` comply; only stacked postfix levels such as `int array seq` do not. Co-Authored-By: Claude Opus 5.5 --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index aa1f8551..840846a3 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -166,7 +166,7 @@ Agents discover servers from #file:'.mcp.json'; these are only hints on when to * Always use the latest F# 10 features over old syntax. * If you are running outside of an IDE, or the IDE does not provide F# semantic tools, use FsLangMCP as the primary tool for F# code navigation, symbol discovery, diagnostics, usage search and refactoring preview. Prefer its semantic tools over plain text search. * The compiler generates `IsCaseName` instance properties (for example `IsOk`, `IsNotFound`) for each DU case – use them when a single-case check is needed. -* Write at most one level of a type in the postfix ML style: `int[] seq`, `int voption[]`, `seq` – never `int array seq` or `int list list`. An array inside another type is `'T[]`. +* Write at most one level of a type in the postfix ML style: `int[] seq`, `int voption[]`, `seq` – never `int array seq` or `int list list`. Only the postfix levels count: `seq` and `struct (int array * int array)` have one each. ### Asynchrony and Cancellation