Zefira Shannon

Results 30 comments of Zefira Shannon

Also, the reason I started looking into this change is that I was looking at #46. With this change to `IsLambda*` it should be possible to actually make that happen...

Ah, that makes sense! I guess if I'm going to work on Sodium I should probably read and understand that "Denotational Semantics" appendix. I would be happy to help out,...

I submitted a couple PRs with conceptually distinct sets of changes I've made on my fork. If you don't mind, I think I will also take your above comments and...

> Will Rust let us implement Fn or FnMut for our own types anyway? Such as Lambda. Last time I tried, Rust would not let me. Admittedly I was on...

Hmmm, boilerplate can be solved with a macro, but I wonder how much complexity calling the two methods would add internally? I'm discovering that this is a substantially harder problem...

I think that the change in 1.35 is actually just implementing the relevant traits for boxed versions of the various `Fn` types. It looks like it is possible to implement...

Oh, that's really good news. I didn't even think to try that abbreviated inferencing! I think in general since most values are already passed by reference removing the `&`s on...

> Without the & the arguments are passed by copy. (Defensive copy). So mutation of the arguments does no harm. Both Fn and FnMut will let you mutate that copy...

For what it's worth, I think that this could be accomplished with a wrapper type on the current editor. I don't think Rustyline internals need to change to read from...

That's a good question. I'm not super familiar with trying to do this so this might be a naive suggestion, but I think that the most straightforward solution would be...