Gus

Results 276 comments of Gus

Thanks, for some reason I didn't realize it was already there. So I would say let's have a look at the other functions and if there's nothing interesting to add,...

One limitation with this implementation is that it would require the infinite dictionary to be in the first position of the applicative expression, otherwise it would try to iterate through...

Technically speaking there is a problem with rank2 types as the lens is applied for both reading and writing which means that a generic function passed as parameter is being...

I think there must be a way to compose the operation conditionally but probably it will result in combinatory code which is hard to read. @wallymathieu solution reads well and...

> That was a tip for @wallymathieu / @gusty for a change in FSharpPlus, right? Not in user code? We can consider using those functors for lensing but of course,...

This wasn't a suggestion, in the sense that I don't suggest doing like that, it was rather a thought exercise to define what we would get as a lens, if...

A similar technical problem was reported by @reinux on our gitter 2 weeks ago: > Hey, hopefully quick question: is there a type alias I can use for lenses? I'm...

Here's an example: type CString (c: System.Globalization.CultureInfo) = member __.ToUpper (s: string) = s.ToUpper (c) member __.ToLower (s: string) = s.ToLower (c) Usage: open System open FSharpPlus let String =...

> The API doc is pretty useless I fully agree with that part, i don't think they add anything at all. We can definitely split it, but let's open an...

I agree, that would be really nice. But also a bit tricky, some functions make sense in more than one section, but I don't want to discorage you, please go...