From 26f912cb3b6d13e6beb0881636835d17820e3516 Mon Sep 17 00:00:00 2001 From: John Krupka Date: Tue, 2 Nov 2021 11:05:19 -0500 Subject: [PATCH] A manager is a person with a list of managed Employees --- content/why-use-fsharp/_index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/why-use-fsharp/_index.md b/content/why-use-fsharp/_index.md index 91cc9834b..60224dd53 100644 --- a/content/why-use-fsharp/_index.md +++ b/content/why-use-fsharp/_index.md @@ -32,7 +32,7 @@ type Person = {First:string; Last:string} // complex types in a few lines type Employee = | Worker of Person - | Manager of Employee list + | Manager of Person * Employee list // type inference let jdoe = {First="John"; Last="Doe"} @@ -163,4 +163,3 @@ form.Show() ## Want more details? If you want more information, the ["Why use F#?" series of posts](/series/why-use-fsharp/) covers each of these points in much greater detail. -