##Sample data file
---
module : ContractModel
---
let billsAddress:
Address street: 44 East 5th Ave
city: Vancouver region: BC country: Canada
postal: V6R-2T5
##Sample data file
---
module : ContractModel
---
let billsAddress:
Address street: 44 East 5th Ave
city: Vancouver region: BC country: Canada
postal: V6R-2T5
| #! /usr/bin/env dotnet fsi --exec --langversion:preview | |
| #r "nuget: Argu" | |
| #r "nuget: FParsec" | |
| // #I needed because of https://github.com/dotnet/fsharp/issues/9217 | |
| // Should be fixed for final release | |
| #I "/Users/joergbeekmann/.nuget/packages/fparsec/1.1.1/lib/netstandard2.0" | |
| open Argu | |
| open FParsec |
| open System | |
| type Settings = { | |
| Capacities : array<float> | |
| MaxRates : array<float> | |
| ValveState : array<int> | |
| Hash: int | |
| } with | |
| static member TrivialButPossiblyOkHash _ _ valueStates = | |
| // This or some other way of combining the values eg. xor etc without copying my be good | |
| // enought. You can test it on your data. With random values for the value states this is |