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.
1 parent 9693d89 commit 1458aebCopy full SHA for 1458aeb
test/Main.purs
@@ -22,9 +22,9 @@ _Just = prism Just (maybe (Right Nothing) Left)
22
type Foo a = { foo :: Maybe { bar :: Array a } }
23
24
doc :: Foo String
25
-doc = { foo: Just { bar: [ "Hello", "World" ]} }
+doc = { foo: Just { bar: [ "Hello", " ", "World" ]} }
26
27
bars :: forall a b. Traversal (Foo a) (Foo b) a b
28
bars = foo <<< _Just <<< bar <<< traverse
29
30
-main = traverseOf bars log doc
+main = print $ viewAll bars id doc
0 commit comments