News for hackers. Stuff that matters.
Re:Haskell Lens Tutorial by Exercises by garethrowlands on Tuesday December 06, 2022 @08:17AM (#33879181)
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.
Re:Haskell Lens Tutorial by Exercises by klntsky on Tuesday December 06, 2022 @09:05AM (#33879914)
They are in fact well structured and not random at all. Take a look at this:

https://github.com/ekmett/lens/wiki/Operators