diff options
author | Profpatsch <mail@profpatsch.de> | 2021-11-13T00·19+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-11-13T00·57+0000 |
commit | d08fbd79c70a0a95e290205e811b2588cb52b29f (patch) | |
tree | e9b93821fcc5ad897f72f68466f82993643a6f00 /users/Profpatsch/lens.nix | |
parent | 539884f7ade97d681d232f310c807c6db581f1d9 (diff) |
docs(users/Profpatsch/lens): setter inline arrows r/3052
Change-Id: I22bed7bc16b69f94556142cad1079e23f3550bb1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3846 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
Diffstat (limited to 'users/Profpatsch/lens.nix')
-rw-r--r-- | users/Profpatsch/lens.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/users/Profpatsch/lens.nix b/users/Profpatsch/lens.nix index 3c429bbdb14e..db102d8b1a6b 100644 --- a/users/Profpatsch/lens.nix +++ b/users/Profpatsch/lens.nix @@ -89,6 +89,8 @@ let (attrs: a: attrs // { ${name} = a; }); # Setter :: (->) a b -> (->) s t + # Setter :: (a -> b) -> (s -> t) + # Subclasses of profunctor for (->). # We only have Strong for now, but when we implement Choice we need to add it here. |