-
Notifications
You must be signed in to change notification settings - Fork 272
/
Control-Lens-Extras.html
8 lines (8 loc) · 2.92 KB
/
Control-Lens-Extras.html
1
2
3
4
5
6
7
8
<!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.Extras</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-Extras.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Lens-Extras.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-4.11.1: Lenses, Folds and Traversals</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(C) 2012-15 Edward Kmett</td></tr><tr><th>License</th><td>BSD-style (see the file LICENSE)</td></tr><tr><th>Maintainer</th><td>Edward Kmett <ekmett@gmail.com></td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Control.Lens.Extras</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A few extra names that didn't make it into Control.Lens.</p></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:is">is</a> :: <a href="Control-Lens-Prism.html#t:APrism">APrism</a> s t a b -> s -> <a href="file:///usr/local/share/doc/ghc/html/libraries/base-4.8.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short">module <a href="Data-Data-Lens.html">Data.Data.Lens</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:is" class="def">is</a> :: <a href="Control-Lens-Prism.html#t:APrism">APrism</a> s t a b -> s -> <a href="file:///usr/local/share/doc/ghc/html/libraries/base-4.8.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Control-Lens-Extras.html#is" class="link">Source</a></p><div class="doc"><p>Check to see if this <code><a href="Control-Lens-Type.html#t:Prism">Prism</a></code> matches.</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>is _Left (Right 12)
</code></strong>False
</pre><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>is hex "3f79"
</code></strong>True
</pre></div></div><div class="top"><p class="src">module <a href="Data-Data-Lens.html">Data.Data.Lens</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.0</p></div></body></html>