[HN Gopher] Lenses in Julia
       ___________________________________________________________________
        
       Lenses in Julia
        
       Author : samuel2
       Score  : 39 points
       Date   : 2025-10-26 11:53 UTC (4 days ago)
        
 (HTM) web link (juliaobjects.github.io)
 (TXT) w3m dump (juliaobjects.github.io)
        
       | eigenspace wrote:
       | Nice to see this passed around on Hacker News. I think the whole
       | concept of lenses is super cool and useful, but suffered from the
       | usual Haskellificiation problems of being presented in an
       | unnecessarily convoluted way.
       | 
       | I think Accessors.jl has a quite nice and usable implementation
       | of lenses, it's something I use a lot even in code where I'm
       | working with a lot of mutable data because it's nice to localize
       | and have exact control over what gets mutated and when (and I
       | often find myself storing some pretty complex immutable data in
       | more 'simple' mutable containers)
        
       ___________________________________________________________________
       (page generated 2025-10-30 23:00 UTC)