Permalink
Browse files

3.5

  • Loading branch information...
ekmett committed Nov 22, 2012
1 parent 51c05ab commit 06ceb5f1eba61bb0d4c89c0ffb370c83fa071f49
Showing with 5,593 additions and 5,346 deletions.
  1. +1 −1 Control-Exception-Lens.html
  2. +4 −4 Control-Lens-Action.html
  3. +34 −0 Control-Lens-Classes.html
  4. +1 −1 Control-Lens-Combinators.html
  5. +7 −7 Control-Lens-Fold.html
  6. +16 −5 Control-Lens-Getter.html
  7. +1 −1 Control-Lens-Indexed.html
  8. +6 −6 Control-Lens-IndexedFold.html
  9. +3 −3 Control-Lens-IndexedGetter.html
  10. +1 −1 Control-Lens-IndexedLens.html
  11. +3 −3 Control-Lens-IndexedSetter.html
  12. +1 −1 Control-Lens-IndexedTraversal.html
  13. +22 −34 Control-Lens-Internal.html
  14. +1 −1 Control-Lens-Iso.html
  15. +1 −1 Control-Lens-Isomorphic.html
  16. +1 −1 Control-Lens-Loupe.html
  17. +1 −1 Control-Lens-Plated.html
  18. +1 −1 Control-Lens-Projection.html
  19. +1 −1 Control-Lens-Representable.html
  20. +3 −3 Control-Lens-Setter.html
  21. +1 −1 Control-Lens-Simple.html
  22. +1 −1 Control-Lens-TH.html
  23. +27 −12 Control-Lens-Traversal.html
  24. +1 −1 Control-Lens-Tuple.html
  25. +14 −6 Control-Lens-Type.html
  26. +7 −0 Control-Lens-Unsafe.html
  27. +1 −1 Control-Lens-WithIndex.html
  28. +4 −4 Control-Lens-Zipper.html
  29. +1 −1 Control-Lens-Zoom.html
  30. +2 −2 Control-Lens.html
  31. +1 −1 Control-Parallel-Strategies-Lens.html
  32. +1 −1 Control-Seq-Lens.html
  33. +1 −1 Data-Array-Lens.html
  34. +1 −1 Data-Bits-Lens.html
  35. +1 −1 Data-ByteString-Lazy-Lens.html
  36. +1 −1 Data-ByteString-Lens.html
  37. +1 −1 Data-ByteString-Strict-Lens.html
  38. +1 −1 Data-Complex-Lens.html
  39. +1 −1 Data-Data-Lens.html
  40. +1 −1 Data-Dynamic-Lens.html
  41. +1 −1 Data-HashSet-Lens.html
  42. +1 −1 Data-IntSet-Lens.html
  43. +1 −1 Data-List-Lens.html
  44. +13 −13 Data-List-Split-Lens.html
  45. +1 −1 Data-Monoid-Lens.html
  46. +1 −1 Data-Sequence-Lens.html
  47. +1 −1 Data-Set-Lens.html
  48. +1 −1 Data-Text-Lazy-Lens.html
  49. +1 −1 Data-Text-Lens.html
  50. +1 −1 Data-Text-Strict-Lens.html
  51. +1 −1 Data-Tree-Lens.html
  52. +1 −1 Data-Typeable-Lens.html
  53. +1 −1 Data-Vector-Generic-Lens.html
  54. +1 −1 Data-Vector-Lens.html
  55. +1 −1 GHC-Generics-Lens.html
  56. +1 −1 Language-Haskell-TH-Lens.html
  57. +1 −1 System-FilePath-Lens.html
  58. +2 −2 doc-index-124.html
  59. +2 −2 doc-index-35.html
  60. +2 −2 doc-index-37.html
  61. +2 −2 doc-index-38.html
  62. +2 −2 doc-index-42.html
  63. +2 −2 doc-index-43.html
  64. +2 −2 doc-index-45.html
  65. +2 −2 doc-index-46.html
  66. +2 −2 doc-index-47.html
  67. +2 −2 doc-index-58.html
  68. +2 −2 doc-index-60.html
  69. +2 −2 doc-index-63.html
  70. +2 −2 doc-index-94.html
  71. +2 −2 doc-index-95.html
  72. +2 −2 doc-index-A.html
  73. +2 −2 doc-index-All.html
  74. +2 −2 doc-index-B.html
  75. +2 −2 doc-index-C.html
  76. +2 −2 doc-index-D.html
  77. +2 −2 doc-index-E.html
  78. +2 −2 doc-index-F.html
  79. +2 −2 doc-index-G.html
  80. +2 −2 doc-index-H.html
  81. +2 −2 doc-index-I.html
  82. +2 −2 doc-index-K.html
  83. +2 −2 doc-index-L.html
  84. +2 −2 doc-index-M.html
  85. +2 −2 doc-index-N.html
  86. +2 −2 doc-index-O.html
  87. +2 −2 doc-index-P.html
  88. +2 −2 doc-index-R.html
  89. +2 −2 doc-index-S.html
  90. +2 −2 doc-index-T.html
  91. +2 −2 doc-index-U.html
  92. +2 −2 doc-index-V.html
  93. +2 −2 doc-index-W.html
  94. +2 −2 doc-index-Z.html
  95. +2 −2 doc-index.html
  96. +2 −2 index-frames.html
  97. +3 −3 index.html
  98. BIN lens.haddock
  99. +7 −0 mini_Control-Lens-Classes.html
  100. +3 −4 mini_Control-Lens-Internal.html
  101. +3 −2 mini_Control-Lens-Traversal.html
  102. +2 −1 mini_Control-Lens-Type.html
  103. +4 −0 mini_Control-Lens-Unsafe.html
  104. +66 −65 src/Control-Lens-Action.html
  105. +149 −0 src/Control-Lens-Classes.html
  106. +0 −69 src/Control-Lens-Evil.html
  107. +941 −940 src/Control-Lens-Fold.html
  108. +272 −271 src/Control-Lens-Getter.html
  109. +390 −389 src/Control-Lens-IndexedFold.html
  110. +14 −13 src/Control-Lens-IndexedGetter.html
  111. +115 −114 src/Control-Lens-IndexedSetter.html
  112. +77 −0 src/Control-Lens-Internal-BazaarT.html
  113. +234 −0 src/Control-Lens-Internal-Combinators.html
  114. +515 −580 src/Control-Lens-Internal.html
  115. +229 −228 src/Control-Lens-Representable.html
  116. +728 −727 src/Control-Lens-Setter.html
  117. +506 −485 src/Control-Lens-Traversal.html
  118. +558 −555 src/Control-Lens-Type.html
  119. +33 −217 src/Control-Lens-Unsafe.html
  120. +447 −449 src/Control-Lens-WithIndex.html
  121. +6 −6 src/Control-Lens-Zipper.html
  122. +4 −4 src/Control-Lens-Zoom.html
  123. +1 −1 src/Control-Lens.html
  124. +1 −1 src/Data-List-Split-Lens.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Control.Exception.Lens</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Control-Exception-Lens.html");};
//]]>
-</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Exception-Lens.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">lens-3.4: Lenses, Folds and Traversals</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>Control.Exception</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>Edward Kmett &lt;ekmett@gmail.com&gt;</td></tr><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr></table><p class="caption">Control.Exception.Lens</p></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:exception">exception</a> :: (Exception a, Exception b) =&gt; <a href="Control-Lens-Projection.html#t:Projection">Projection</a> SomeException SomeException a b</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:exception" class="def">exception</a> :: (Exception a, Exception b) =&gt; <a href="Control-Lens-Projection.html#t:Projection">Projection</a> SomeException SomeException a b<a href="src/Control-Exception-Lens.html#exception" class="link">Source</a></p><div class="doc"><p>Traverse the strongly typed <code>Exception</code> contained in <code>SomeException</code> where the type of your function matches
+</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Exception-Lens.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">lens-3.5: Lenses, Folds and Traversals</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>Control.Exception</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>Edward Kmett &lt;ekmett@gmail.com&gt;</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Control.Exception.Lens</p></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:exception">exception</a> :: (Exception a, Exception b) =&gt; <a href="Control-Lens-Projection.html#t:Projection">Projection</a> SomeException SomeException a b</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:exception" class="def">exception</a> :: (Exception a, Exception b) =&gt; <a href="Control-Lens-Projection.html#t:Projection">Projection</a> SomeException SomeException a b<a href="src/Control-Exception-Lens.html#exception" class="link">Source</a></p><div class="doc"><p>Traverse the strongly typed <code>Exception</code> contained in <code>SomeException</code> where the type of your function matches
the desired <code>Exception</code>.
</p><pre>
exception :: (<code>Applicative</code> f, <code>Exception</code> a, <code>Exception</code> b)
View
@@ -1,11 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Control.Lens.Action</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Control-Lens-Action.html");};
//]]>
-</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Lens-Action.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">lens-3.4: Lenses, Folds and Traversals</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>MTPCs, FDs, Rank2</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Edward Kmett &lt;ekmett@gmail.com&gt;</td></tr><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr></table><p class="caption">Control.Lens.Action</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Composable Actions
+</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Lens-Action.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">lens-3.5: Lenses, Folds and Traversals</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>MTPCs, FDs, Rank2</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Edward Kmett &lt;ekmett@gmail.com&gt;</td></tr><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr></table><p class="caption">Control.Lens.Action</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Composable Actions
</a></li><li><a href="#g:2">Folds with Effecs
</a></li><li><a href="#g:3">Implementation Details
-</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">type</span> <a href="#t:Action">Action</a> m s a = <span class="keyword">forall</span> f r. <a href="Control-Lens-Internal.html#t:Effective">Effective</a> m r f =&gt; (a -&gt; f a) -&gt; s -&gt; f s</li><li class="src short"><a href="#v:act">act</a> :: Monad m =&gt; (s -&gt; m a) -&gt; <a href="Control-Lens-Action.html#t:Action">Action</a> m s a</li><li class="src short"><a href="#v:acts">acts</a> :: <a href="Control-Lens-Action.html#t:Action">Action</a> m (m a) a</li><li class="src short"><a href="#v:perform">perform</a> :: Monad m =&gt; <a href="Control-Lens-Action.html#t:Acting">Acting</a> m a s t a b -&gt; s -&gt; m a</li><li class="src short"><a href="#v:performs">performs</a> :: Monad m =&gt; <a href="Control-Lens-Action.html#t:Acting">Acting</a> m e s t a b -&gt; (a -&gt; e) -&gt; s -&gt; m e</li><li class="src short"><a href="#v:liftAct">liftAct</a> :: (MonadTrans trans, Monad m) =&gt; <a href="Control-Lens-Action.html#t:Acting">Acting</a> m a s t a b -&gt; <a href="Control-Lens-Action.html#t:Action">Action</a> (trans m) s a</li><li class="src short"><a href="#v:-94--33-">(^!)</a> :: Monad m =&gt; s -&gt; <a href="Control-Lens-Action.html#t:Acting">Acting</a> m a s t a b -&gt; m a</li><li class="src short"><span class="keyword">type</span> <a href="#t:MonadicFold">MonadicFold</a> m s a = <span class="keyword">forall</span> f r. (<a href="Control-Lens-Internal.html#t:Effective">Effective</a> m r f, Applicative f) =&gt; (a -&gt; f a) -&gt; s -&gt; f s</li><li class="src short"><span class="keyword">type</span> <a href="#t:Acting">Acting</a> m r s t a b = (a -&gt; <a href="Control-Lens-Internal.html#t:Effect">Effect</a> m r b) -&gt; s -&gt; <a href="Control-Lens-Internal.html#t:Effect">Effect</a> m r t</li></ul></div><div id="interface"><h1 id="g:1">Composable Actions
-</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Action" class="def">Action</a> m s a = <span class="keyword">forall</span> f r. <a href="Control-Lens-Internal.html#t:Effective">Effective</a> m r f =&gt; (a -&gt; f a) -&gt; s -&gt; f s<a href="src/Control-Lens-Action.html#Action" class="link">Source</a></p><div class="doc"><p>An <code><a href="Control-Lens-Action.html#t:Action">Action</a></code> is a <code>Getter</code> enriched with access to a <code>Monad</code> for side-effects.
+</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">type</span> <a href="#t:Action">Action</a> m s a = <span class="keyword">forall</span> f r. <a href="Control-Lens-Classes.html#t:Effective">Effective</a> m r f =&gt; (a -&gt; f a) -&gt; s -&gt; f s</li><li class="src short"><a href="#v:act">act</a> :: Monad m =&gt; (s -&gt; m a) -&gt; <a href="Control-Lens-Action.html#t:Action">Action</a> m s a</li><li class="src short"><a href="#v:acts">acts</a> :: <a href="Control-Lens-Action.html#t:Action">Action</a> m (m a) a</li><li class="src short"><a href="#v:perform">perform</a> :: Monad m =&gt; <a href="Control-Lens-Action.html#t:Acting">Acting</a> m a s t a b -&gt; s -&gt; m a</li><li class="src short"><a href="#v:performs">performs</a> :: Monad m =&gt; <a href="Control-Lens-Action.html#t:Acting">Acting</a> m e s t a b -&gt; (a -&gt; e) -&gt; s -&gt; m e</li><li class="src short"><a href="#v:liftAct">liftAct</a> :: (MonadTrans trans, Monad m) =&gt; <a href="Control-Lens-Action.html#t:Acting">Acting</a> m a s t a b -&gt; <a href="Control-Lens-Action.html#t:Action">Action</a> (trans m) s a</li><li class="src short"><a href="#v:-94--33-">(^!)</a> :: Monad m =&gt; s -&gt; <a href="Control-Lens-Action.html#t:Acting">Acting</a> m a s t a b -&gt; m a</li><li class="src short"><span class="keyword">type</span> <a href="#t:MonadicFold">MonadicFold</a> m s a = <span class="keyword">forall</span> f r. (<a href="Control-Lens-Classes.html#t:Effective">Effective</a> m r f, Applicative f) =&gt; (a -&gt; f a) -&gt; s -&gt; f s</li><li class="src short"><span class="keyword">type</span> <a href="#t:Acting">Acting</a> m r s t a b = (a -&gt; <a href="Control-Lens-Internal.html#t:Effect">Effect</a> m r b) -&gt; s -&gt; <a href="Control-Lens-Internal.html#t:Effect">Effect</a> m r t</li></ul></div><div id="interface"><h1 id="g:1">Composable Actions
+</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Action" class="def">Action</a> m s a = <span class="keyword">forall</span> f r. <a href="Control-Lens-Classes.html#t:Effective">Effective</a> m r f =&gt; (a -&gt; f a) -&gt; s -&gt; f s<a href="src/Control-Lens-Action.html#Action" class="link">Source</a></p><div class="doc"><p>An <code><a href="Control-Lens-Action.html#t:Action">Action</a></code> is a <code>Getter</code> enriched with access to a <code>Monad</code> for side-effects.
</p><p>Every <code>Getter</code> can be used as an <code><a href="Control-Lens-Action.html#t:Action">Action</a></code>
</p><p>You can compose an <code><a href="Control-Lens-Action.html#t:Action">Action</a></code> with another <code><a href="Control-Lens-Action.html#t:Action">Action</a></code> using (<code>.</code>) from the <code>Prelude</code>.
</p></div></div><div class="top"><p class="src"><a name="v:act" class="def">act</a> :: Monad m =&gt; (s -&gt; m a) -&gt; <a href="Control-Lens-Action.html#t:Action">Action</a> m s a<a href="src/Control-Lens-Action.html#act" class="link">Source</a></p><div class="doc"><p>Construct an <code><a href="Control-Lens-Action.html#t:Action">Action</a></code> from a monadic side-effect
@@ -21,7 +21,7 @@
</code></strong>hello
world
</pre></div></div><h1 id="g:2">Folds with Effecs
-</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:MonadicFold" class="def">MonadicFold</a> m s a = <span class="keyword">forall</span> f r. (<a href="Control-Lens-Internal.html#t:Effective">Effective</a> m r f, Applicative f) =&gt; (a -&gt; f a) -&gt; s -&gt; f s<a href="src/Control-Lens-Action.html#MonadicFold" class="link">Source</a></p><div class="doc"><p>A <code><a href="Control-Lens-Action.html#t:MonadicFold">MonadicFold</a></code> is a <code>Fold</code> enriched with access to a <code>Monad</code> for side-effects.
+</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:MonadicFold" class="def">MonadicFold</a> m s a = <span class="keyword">forall</span> f r. (<a href="Control-Lens-Classes.html#t:Effective">Effective</a> m r f, Applicative f) =&gt; (a -&gt; f a) -&gt; s -&gt; f s<a href="src/Control-Lens-Action.html#MonadicFold" class="link">Source</a></p><div class="doc"><p>A <code><a href="Control-Lens-Action.html#t:MonadicFold">MonadicFold</a></code> is a <code>Fold</code> enriched with access to a <code>Monad</code> for side-effects.
</p><p>Every <code>Fold</code> can be used as a <code><a href="Control-Lens-Action.html#t:MonadicFold">MonadicFold</a></code>, that simply ignores the access to the <code>Monad</code>.
</p><p>You can compose a <code><a href="Control-Lens-Action.html#t:MonadicFold">MonadicFold</a></code> with another <code><a href="Control-Lens-Action.html#t:MonadicFold">MonadicFold</a></code> using (<code>.</code>) from the <code>Prelude</code>.
</p></div></div><h1 id="g:3">Implementation Details
Oops, something went wrong.

0 comments on commit 06ceb5f

Please sign in to comment.