Danny Yang

Results 182 comments of Danny Yang

similar to the first issue from https://github.com/facebook/pyrefly/issues/150

Is this a common pattern? Right now the tuple subscripting stuff matches on the AST node as opposed to the evaluated type of the slice, but we could probably change...

Thanks for flagging this! TIL you can add string keys via keyword args to dict.update.

I think that's the behavior is just the what the stdlib stubs for `update` would typecheck as if it was called like a normal function. As shown by your examples,...

pyproject.toml should work with neovim

I think this is another case that would be covered once we support semantic highlighting cc @kinto0

Thanks! The `third_party/conformance` tests are pulled from the typing spec conformance test suite, and shouldn't be modified directly here: https://github.com/python/typing/tree/main/conformance For this type of feature, could you please add an...

Sorry for the delay @arnav-jain1 and thanks for your contribution We'll get this merged soon! My only feedback would be that it's more readable to just use a loop and...

> Im tryna learn haskell or functional programming in general and kind of used it as a fun exercise. Functional programming is fun! Pyre being written in OCaml was one...

Yep, we'll get this merged.