Eugene Baranov

Results 5 comments of Eugene Baranov

Alternative approach could be: ```fsharp type CurrencyCode = CAD | USD | GBP type CurrencyDetails = { Name: string; Number: int; Digits: int } module Currency = let details =...

I must admit that being mostly C# developer but loving F# I keep forgetting to put 'fun' in lambdas.

Avoiding new overloads, I think the easiest would be to have a new method which you could use to set non-standard system clock, e.g. `Policy.WithSystemClock(new TestSystemClock()).Timeout(30)`.

Apologies for not updating this PR sooner - I was trying to implement new `WithSystemClock` syntax but it turned out to be trickier than I've anticipated.

@reisenberger the proposed syntax looks like a good improvement however since I'm adding clock to the `PolicyBuilder` I found policies not using that to be the biggest challenge, e.g. `Policy.Cache`...