From 92a6e097a5ad49425a8a06d77cc19b1c626d34f5 Mon Sep 17 00:00:00 2001 From: Scott Hutchinson Date: Thu, 24 Dec 2020 12:41:24 -0800 Subject: [PATCH] Add a space to make the example code compile Working around this issue: https://github.com/dotnet/fsharp/issues/4607 --- docs/fsharp/style-guide/component-design-guidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fsharp/style-guide/component-design-guidelines.md b/docs/fsharp/style-guide/component-design-guidelines.md index 53e090754cf22..cd9765f43e096 100644 --- a/docs/fsharp/style-guide/component-design-guidelines.md +++ b/docs/fsharp/style-guide/component-design-guidelines.md @@ -185,8 +185,8 @@ Use interface types to represent a set of operations. This is preferred to other ```fsharp type Serializer = - abstract Serialize<'T>: preserveRefEq: bool -> value: 'T -> string - abstract Deserialize<'T>: preserveRefEq: bool -> pickle: string -> 'T + abstract Serialize<'T> : preserveRefEq: bool -> value: 'T -> string + abstract Deserialize<'T> : preserveRefEq: bool -> pickle: string -> 'T ``` In preference to: