@@ -50,8 +50,8 @@ set l x = l .~ x
50lens2lensvl :: ALens a b s t -> Lens s t a b
50lens2lensvl :: ALens a b s t -> Lens s t a b
51lens2lensvl (ALens _get _set) =
51lens2lensvl (ALens _get _set) =
53− let (c, a) = oneShot _get (inline x)
53+ case _get x of
54− in oneShot (_set . (c, )) <$> f (inline a)
54+ (c, a) -> _set . (c, ) <$> f a
55{-# INLINE lens2lensvl #-}
55{-# INLINE lens2lensvl #-}
57ravel :: (ALens a b a b -> ALens a b s t)
57ravel :: (ALens a b a b -> ALens a b s t)