-
-
Save dminuoso/2c4677f3c1bcd05e0c72eeadc6c2e148 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
over :: ASetter s t a b -> (a -> b) -> s -> t | |
over = coerce | |
type Lens s t a b = forall f. Functor f => (a -> f b) -> s -> f t | |
type ASetter s t a b = (a -> Identity b) -> s -> Identity t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment