From 93335259de8e9bedc63d459cffd9e77582fb6b99 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Sat, 11 May 2024 08:53:59 -0400 Subject: [PATCH] Re-export #1058 operators from Control.Lens.Operators Fixes #1067. --- CHANGELOG.markdown | 6 ++++++ src/Control/Lens/Operators.hs | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index 4b553b5af..70e31d75f 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,3 +1,9 @@ +next [????.??.??] +----------------- +* Re-export `(<>:~)`, `(<<>:~)`, `(<|~)`, `(<<|~)`, `(|>~)`, and `(<|>~)` (as + well as their variants which end with `=` instead of `~`) from + `Control.Lens.Operators`. + 5.3.1 [2024.05.05] ------------------ * Add a `Magnify` instance for the CPS variant of `RWST` when building with diff --git a/src/Control/Lens/Operators.hs b/src/Control/Lens/Operators.hs index 0f6896293..8fc27b5bf 100644 --- a/src/Control/Lens/Operators.hs +++ b/src/Control/Lens/Operators.hs @@ -18,6 +18,14 @@ module Control.Lens.Operators -- * "Control.Lens.Cons" (<|) , (|>) + , (<|~) + , (<|=) + , (<<|~) + , (<<|=) + , (|>~) + , (|>=) + , (<|>~) + , (<|>=) -- * "Control.Lens.Fold" , (^..) , (^?) @@ -88,6 +96,8 @@ module Control.Lens.Operators , (<<~) , (<<>~) , (<<>=) + , (<<>:~) + , (<<>:=) , (<%@~) , (<<%@~) , (%%@~) @@ -141,6 +151,8 @@ module Control.Lens.Operators , (~) , (<>=) + , (<>:~) + , (<>:=) , (.@~) , (.@=) , (%@~)