mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
commit
c5d7f6e72e
@ -335,10 +335,10 @@ module DataTypeExamples =
|
||||
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 =
|
||||
| ValidEmailAddress of string
|
||||
| InvalidEmailAddress of string
|
||||
@ -526,7 +526,7 @@ module AsyncExample =
|
||||
|> Async.RunSynchronously // start them off
|
||||
|
||||
// ================================================
|
||||
// .NET compatability
|
||||
// .NET compatibility
|
||||
// ================================================
|
||||
|
||||
module NetCompatibilityExamples =
|
||||
|
Loading…
Reference in New Issue
Block a user