grain icon indicating copy to clipboard operation
grain copied to clipboard

Grainfmt: Experiment with removal of infix_wrap argument

Open phated opened this issue 2 years ago • 1 comments

The infix_wrap argument mostly seems like a workaround and I think we could better factor out the behavior. This is just cleanup on #1976 so we can do it later.

phated avatar Feb 19 '24 21:02 phated

An idea would be to create a print_infix_expression function which applies the wrapping, and call it from everywhere we pass ~infix_wrap=Fun.id.

ospencer avatar Apr 05 '24 20:04 ospencer