by abecedarius · 6y ago · 0 comments
Here's a variation that seems plausible: make postfix p^ be like C's p[0], and infix p^i like C's p[i]. (With a tighter binding for ^ than C has.)
https://github.com/ekmett/lens/wiki/Examples
> ("hello","world")^._2