-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Description
I don't see a strict version of over, which we could put in Control.Lens.Traversal.
over' :: ATraversal s t a b -> (a -> b) -> s -> t
over' l f = getSolo . cloneTraversal l (\old -> Solo $! f old)
where
getSolo (Solo x) = xI don't remember how indexed stuff works, but I'm sure that's available too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels