Jacqueline Firth

Results 453 comments of Jacqueline Firth

That works. I think it would read nicer if a helper function was extracted to handle the list processing though: ```python def flip_first_two(xs): ... return a list that's like xs...

The function returned by `flip` needs to also be curried, so the following expressions should all work: ```python flip(merge_three)(1, 2, 3) flip(merge_three)(1)(2)(3) flip(merge_three)(1, 2)(3) ``` And passing too many arguments...

Alright, I think I figured out how to do this properly. In `pyramda/function/curry.py` there's a `curry_by_spec` function used to implement `curry`, and that can be used by `flip` to wrap...

That would work for `flip`, but it wouldn't handle other functions like `filter` which need to check that the passed in function returns a boolean every time it's called. Argument...

Sounds great! I recommend looking at [Sanctuary](https://github.com/sanctuary-js/sanctuary) for guidance on contract checking. They had to solve this problem too and have very good error messages now.

I think this belongs in the [`arguments`](http://docs.racket-lang.org/arguments/index.html?q=arguments) package, which has a stronger focus on manipulating keyword arguments. Using that package could make the implementation simpler too: ```racket ;; arity fixups...

I'm not sure a split is necessary, as the built package server means installing with `--binary-lib` on the latest released Racket version avoids installing anything in `build-deps`. I'd rather see...

I agree that binary installations aren't currently well supported in all configurations, but I think that's something that should / will change in the future. I don't have an interest...

Gave up on the github pull request integration approach for now. Seems there isn't yet a way for github actions to produce annotations: https://github.community/t/what-are-annotations/16173

New user interface idea: a Discord bot (and/or a Slack bot) so that people can run `resyntax` over code in chatrooms and get suggestions that way. Would be especially useful...