by Peaker · 8y ago · 0 comments
import Control.Lens
data MyRecord = MyRecord { _a :: Int, _b :: MyRecord }
makeLenses ''MyRecord
Then you can use it nested like: over (b . b . a) (+5) myRecordhttps://raw.githubusercontent.com/target/row-types/master/ex...