3 ms·
Yes and you tend to use ^. in Haskell where you'd use . in python, say. And . is also an operator. Similarly, you'd likely be using = in python where you'd use
by garethrowlands 4y ago
Yes and you tend to use ^. in Haskell where you'd use . in python, say. And . is also an operator. Similarly, you'd likely be using = in python where you'd use .~ in python. As for ^.., I'm not sure there's an idiomatic python equivalent - certainly nothing as simple as adding an extra . to the operator.
- klntsky 4y agoThey are in fact well structured and not random at all. Take a look at this: https://github.com/ekmett/lens/wiki/Operators https://github.com/ekmett/lens/wiki/Operators