Don Syme

Results 1217 comments of Don Syme

> I suppose it could technically subsume yield! in computation expressions as well. Yes, it could. Which then raises the question of `return!` too.

> A 'rest' operator for list-like patterns would be very helpful - right now list is privileged in terms of syntax because it can easily be deconstructed into parts of...

> Would it be possible to spread anon records into a normal record? Yes, that's the intention of the design. > What would happen in the below scenario? Yes, there...

@smoothdeveloper > Not having support for spreading at type level seems it would force redundant work on type definition, when the author desires to always map all the properties; design-wise,...

@Lanayx Regarding https://github.com/fsharp/fslang-suggestions/issues/1253#issuecomment-1464312424 - interesting. I can see there is some kind of potential here, perhaps as a third wave.

@Lanayx A fascinating use of ChatGPT! However I'm not particularly inclined to include any of those above examples. They make sense in JS and Python but the F# and .NET...

I'm going to mark this as approved in principle, though there would be many details to consider. I suspect the biggest problematic area will be about any spreading involving providing...

I actually agree frustration with this feature, which was added during a small period when I was away from work, back in 2012 I think. The problem you've hit is...

> I think it would be better to have it done via a language version switch: use ; in current F# version, use , while allowing ; and probably showing...