kerams

Results 190 comments of kerams

Async and task computation expressions are causing this.

What about letting me optionally pass the (final) name directly to `NpgsqlCommand` and `NpgsqlBatch`? Something like ```fsharp let cleanTemp cs = use conn = new NpgsqlConnection (cs) use cmd =...

> Conflating the name of a case and its type is a conceptual confusion which shouldn't be allowed. Except it's extremely common and convenient in single-case DU scenarios.

So if I understand this correctly (see below), parts 1 and 2+3 could be worked on separately, with completely independent RFCs? Part 1 - Compiler emitting specialized `ToString` for records...

> though compat may be very tricky Can you please elaborate on this? I somewhat naively thought the only tricky part would be preserving the same indentation.

@Happypig375, that part's not the problem. Every time a record has another record in a field, the indentation goes up. ```fsharp type R = { S: int; Z: R option...

That's going to work until you encounter a field containing a multiline string :).