Last active
February 19, 2019 22:13
-
-
Save jackfoxy/e438097ae346c03b23002fc0df3b354b 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
//not tested as fsx, but insert into existing fs in a project and you should see error messages other than bad tab | |
//did not let me save gist with tabs | |
//so insert them yourself in some other editor in line 21 | |
type Production = | |
{ | |
Ident : int | |
Year: int | |
Month: int | |
OilProduced: float | |
WaterProduced: float | |
GasProduced: float | |
DaysProducing: int option | |
} | |
let production = | |
{ | |
Ident = 1 | |
Year = 2019 | |
Month = 2 | |
OilProduced = 10. | |
WaterProduced = 20. | |
GasProduced = 30. | |
DaysProducing = Some 28 | |
} |> Some |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment