We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Choice
Wander
1 parent 4b8e618 commit 8086d66Copy full SHA for 8086d66
src/Data/Lens/Internal/Wander.purs
@@ -5,11 +5,12 @@ module Data.Lens.Internal.Wander where
5
import Prelude
6
7
import Data.Profunctor.Strong (Strong)
8
+import Data.Profunctor.Choice (Choice)
9
import Data.Profunctor.Star (Star(..), runStar)
10
import Data.Identity (Identity (..), runIdentity)
11
12
-- | Class for profunctors that support polymorphic traversals.
-class (Strong p) <= Wander p where
13
+class (Strong p, Choice p) <= Wander p where
14
wander
15
:: forall f s t a b. (forall f. (Applicative f) => (a -> f b) -> s -> f t)
16
-> p a b -> p s t
0 commit comments