Michael Hewson

Results 44 comments of Michael Hewson

I'm interested in working on this (making `type` expressions work in the repl). Can someone give me some pointers on how to do it? I've done a bit of digging,...

Note that this is the inverse of `untuple_one`. EDIT: and as far as naming goes, another possible name is `tuple_one`. That would make it more obvious that these combinators are...

@seanmonstar sorry it took me so long to get back to this! I renamed the method from `tuple_args` to `tuple_all`, because I think the name matches up with `untuple_one` better,...

@seanmonstar just wanted to check on this, let me know if there's any more changes you'd like me to make

>My biggest issue with this is that ultimately you have absolutely no idea what you might get in your string. I mean, the type system is telling you that you...

I have some code that implements this: https://github.com/kschiess/parslet/compare/master...mikeyhew:ignore-whitespace. It changes the `>>` operator so that it consumes 0 or more spaces in between parslets, and adds `

@kschiess the problem with a global option is that it restricts what you can parse. Even if your grammar is mostly whitespace-insensitive, there are still times when you need `>>`...

One small point regarding stabilization: the purpose of the current `Receiver` trait is to tell the compiler which types can be used as a method receiver from code that doesn't...

Another note: I'd like to see some more details of how method resolution and deref coercion would work with this change. Currently, it says that the algorithm would remain the...

@adetaylor it's been a while since I was involved in compiler development, but I don't remember it being possible to gate an impl behind a feature gate. If it is,...