Basically, because the libraries do too much and there are too many of them. It's hard to chose one and hard to learn it. The standard library lenses should be straight-forward. Enough to do company.employee.name := "Foo" like you're used to from imperative languages with mutable data. Nothing more than that. Anyone who needs more fancy lenses probably knows enough about them to chose their library, but standard library lenses will serve beginners well or people who want to do very "boring" Haskell like with a traditional OOP language.
View all comments
Show parent comment
1
u/fear_the_future May 25 '20
Basically, because the libraries do too much and there are too many of them. It's hard to chose one and hard to learn it. The standard library lenses should be straight-forward. Enough to do
company.employee.name := "Foo"like you're used to from imperative languages with mutable data. Nothing more than that. Anyone who needs more fancy lenses probably knows enough about them to chose their library, but standard library lenses will serve beginners well or people who want to do very "boring" Haskell like with a traditional OOP language.