Merge pull request #1764 from amrue/fsharp

[fsharp/en] Fixed two typos
This commit is contained in:
Spurlow 2015-11-02 19:07:44 +08:00
commit c5d7f6e72e

View File

@ -335,10 +335,10 @@ module DataTypeExamples =
let worker = Worker jdoe let worker = Worker jdoe
// ------------------------------------ // ------------------------------------
// Modelling with types // Modeling with types
// ------------------------------------ // ------------------------------------
// Union types are great for modelling state without using flags // Union types are great for modeling state without using flags
type EmailAddress = type EmailAddress =
| ValidEmailAddress of string | ValidEmailAddress of string
| InvalidEmailAddress of string | InvalidEmailAddress of string
@ -526,7 +526,7 @@ module AsyncExample =
|> Async.RunSynchronously // start them off |> Async.RunSynchronously // start them off
// ================================================ // ================================================
// .NET compatability // .NET compatibility
// ================================================ // ================================================
module NetCompatibilityExamples = module NetCompatibilityExamples =