Created
January 24, 2019 03:13
-
-
Save jasondown/0bc5a55c7c5bf69e4bd2e50e166c0340 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type SampleData = | |
| Diagnosed of DiagnosedSampleData | |
| Undiagnosed of UndiagnosedSampleData | |
static member Create (token : Token) = | |
if token.[4] |> int = -1 then | |
SampleData.Undiagnosed <| UndiagnosedSampleData.Create token | |
else | |
SampleData.Diagnosed <| DiagnosedSampleData.Create token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment