Gauthier Segay

Results 386 comments of Gauthier Segay

Runtime performance I was wondering about how option B performs once the JIT / AOT does the work, if it is basically the same as concrete implementation call? C# has...

@Tarmil, not that I know much, trying with sharplab, with implicit interface implementation (but not related to IWSAM), the IL can avoid `callvirt`, and also less IL code in the...

@kerams great point, and it sounds plausible. Although I'm wondering if it really matters to have that deferred since it is already identified as a tuple, which is most of...

@mexx > What would be the main difference to an immutable list which is already present? The immutable list doesn't expose the same operations as arrays, like getting an item...

> Let it be breaking change. Just increment F# version to 5.0 and let's use new cool things. We could take an approach which doesn't split the eco system (like...

Wouldn't haskell's `newtype` be a more explicit way to handle all the above (although without some of the properties we have with measures which can combine when using calculations)? I...

I think this makes a lot of sense (asking user to notice/remove ambiguity), it may also apply to the way DU members can shadow each others (where the error message...

@DemiMarie I think this would need substanciation if we could provide samples highlighting the issue. From discussions with seasoned F# developers, it seems recursive function or while loop with a...

@cartermp there are people defining F# extension methods to be called from VB.NET. https://theburningmonk.com/2012/09/f-make-extension-methods-visible-to-c/ ![image](https://user-images.githubusercontent.com/87944/73894097-b3075180-487b-11ea-8993-505aed69d672.png) F# should do the same as C# in this regard and not treat VB.NET client...

for "simple F#" aim, since VB.NET and C# know about type extension, and defining those in those languages is a pain, and even worse in F# due to this feature...