blob: cff64ca2d0cb9148d62e856621754a577fb194ce (
plain) (
tree)
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
><head
><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/><meta name="viewport" content="width=device-width, initial-scale=1"
/><title
>Bug548</title
><link href="#" rel="stylesheet" type="text/css" title="NewOcean"
/><link rel="stylesheet" type="text/css" href="#"
/><link rel="stylesheet" type="text/css" href="#"
/><script src="haddock-bundle.min.js" async="async" type="text/javascript"
></script
><script type="text/x-mathjax-config"
>MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script
><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"
></script
></head
><body
><div id="package-header"
><span class="caption empty"
></span
><ul class="links" id="page-menu"
><li
><a href="#"
>Contents</a
></li
><li
><a href="#"
>Index</a
></li
></ul
></div
><div id="content"
><div id="module-header"
><table class="info"
><tr
><th
>Safe Haskell</th
><td
>Safe</td
></tr
></table
><p class="caption"
>Bug548</p
></div
><div id="interface"
><h1
>Documentation</h1
><div class="top"
><p class="src"
><span class="keyword"
>newtype</span
> <a id="t:WrappedArrow" class="def"
>WrappedArrow</a
> (a :: <a href="#" title="Data.Kind"
>Type</a
> -> <a href="#" title="Data.Kind"
>Type</a
> -> <a href="#" title="Data.Kind"
>Type</a
>) b c <a href="#" class="selflink"
>#</a
></p
><div class="subs constructors"
><p class="caption"
>Constructors</p
><table
><tr
><td class="src"
><a id="v:WrapArrow" class="def"
>WrapArrow</a
></td
><td class="doc empty"
></td
></tr
><tr
><td colspan="2"
><div class="subs fields"
><p class="caption"
>Fields</p
><ul
><li
><dfn class="src"
><a id="v:unwrapArrow" class="def"
>unwrapArrow</a
> :: a b c</dfn
><div class="doc empty"
></div
></li
></ul
></div
></td
></tr
></table
></div
><div class="subs instances"
><h4 class="instances details-toggle-control details-toggle" data-details-id="i:WrappedArrow"
>Instances</h4
><details id="i:WrappedArrow" open="open"
><summary class="hide-when-js-enabled"
>Instances details</summary
><table
><tr
><td class="src clearfix"
><span class="inst-left"
><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Generic1:1"
></span
> <a href="#" title="GHC.Generics"
>Generic1</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b :: <a href="#" title="Data.Kind"
>Type</a
> -> <a href="#" title="Data.Kind"
>Type</a
>)</span
></td
><td class="doc empty"
></td
></tr
><tr
><td colspan="2"
><details id="i:id:WrappedArrow:Generic1:1"
><summary class="hide-when-js-enabled"
>Instance details</summary
><p
>Defined in <a href="#"
>Control.Applicative</a
></p
> <div class="subs associated-types"
><p class="caption"
>Associated Types</p
><p class="src"
><span class="keyword"
>type</span
> <a href="#" title="GHC.Generics"
>Rep1</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b) :: k -> <a href="#" title="Data.Kind"
>Type</a
> <a href="#" class="selflink"
>#</a
></p
></div
> <div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a href="#"
>from1</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="GHC.Generics"
>Rep1</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b) a0 <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>to1</a
> :: <a href="#" title="GHC.Generics"
>Rep1</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b) a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 <a href="#" class="selflink"
>#</a
></p
></div
></details
></td
></tr
><tr
><td class="src clearfix"
><span class="inst-left"
><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Functor:2"
></span
> <a href="#" title="Control.Arrow"
>Arrow</a
> a => <a href="#" title="Data.Functor"
>Functor</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b)</span
></td
><td class="doc"
><p
><em
>Since: base-2.1</em
></p
></td
></tr
><tr
><td colspan="2"
><details id="i:id:WrappedArrow:Functor:2"
><summary class="hide-when-js-enabled"
>Instance details</summary
><p
>Defined in <a href="#"
>Control.Applicative</a
></p
> <div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a href="#"
>fmap</a
> :: (a0 -> b0) -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b b0 <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>(<$)</a
> :: a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b b0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 <a href="#" class="selflink"
>#</a
></p
></div
></details
></td
></tr
><tr
><td class="src clearfix"
><span class="inst-left"
><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Applicative:3"
></span
> <a href="#" title="Control.Arrow"
>Arrow</a
> a => <a href="#" title="Control.Applicative"
>Applicative</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b)</span
></td
><td class="doc"
><p
><em
>Since: base-2.1</em
></p
></td
></tr
><tr
><td colspan="2"
><details id="i:id:WrappedArrow:Applicative:3"
><summary class="hide-when-js-enabled"
>Instance details</summary
><p
>Defined in <a href="#"
>Control.Applicative</a
></p
> <div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a href="#"
>pure</a
> :: a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>(<*>)</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b (a0 -> b0) -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b b0 <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>liftA2</a
> :: (a0 -> b0 -> c) -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b b0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b c <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>(*>)</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b b0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b b0 <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>(<*)</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b b0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 <a href="#" class="selflink"
>#</a
></p
></div
></details
></td
></tr
><tr
><td class="src clearfix"
><span class="inst-left"
><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Alternative:4"
></span
> (<a href="#" title="Control.Arrow"
>ArrowZero</a
> a, <a href="#" title="Control.Arrow"
>ArrowPlus</a
> a) => <a href="#" title="Control.Applicative"
>Alternative</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b)</span
></td
><td class="doc"
><p
><em
>Since: base-2.1</em
></p
></td
></tr
><tr
><td colspan="2"
><details id="i:id:WrappedArrow:Alternative:4"
><summary class="hide-when-js-enabled"
>Instance details</summary
><p
>Defined in <a href="#"
>Control.Applicative</a
></p
> <div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a href="#"
>empty</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>(<|>)</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>some</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b [a0] <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>many</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b a0 -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b [a0] <a href="#" class="selflink"
>#</a
></p
></div
></details
></td
></tr
><tr
><td class="src clearfix"
><span class="inst-left"
><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Generic:5"
></span
> <a href="#" title="GHC.Generics"
>Generic</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b c)</span
></td
><td class="doc empty"
></td
></tr
><tr
><td colspan="2"
><details id="i:id:WrappedArrow:Generic:5"
><summary class="hide-when-js-enabled"
>Instance details</summary
><p
>Defined in <a href="#"
>Control.Applicative</a
></p
> <div class="subs associated-types"
><p class="caption"
>Associated Types</p
><p class="src"
><span class="keyword"
>type</span
> <a href="#" title="GHC.Generics"
>Rep</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b c) :: <a href="#" title="Data.Kind"
>Type</a
> -> <a href="#" title="Data.Kind"
>Type</a
> <a href="#" class="selflink"
>#</a
></p
></div
> <div class="subs methods"
><p class="caption"
>Methods</p
><p class="src"
><a href="#"
>from</a
> :: <a href="#" title="Bug548"
>WrappedArrow</a
> a b c -> <a href="#" title="GHC.Generics"
>Rep</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b c) x <a href="#" class="selflink"
>#</a
></p
><p class="src"
><a href="#"
>to</a
> :: <a href="#" title="GHC.Generics"
>Rep</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b c) x -> <a href="#" title="Bug548"
>WrappedArrow</a
> a b c <a href="#" class="selflink"
>#</a
></p
></div
></details
></td
></tr
><tr
><td class="src clearfix"
><span class="inst-left"
><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Rep1:6"
></span
> <span class="keyword"
>type</span
> <a href="#" title="GHC.Generics"
>Rep1</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b :: <a href="#" title="Data.Kind"
>Type</a
> -> <a href="#" title="Data.Kind"
>Type</a
>)</span
></td
><td class="doc"
><p
><em
>Since: base-4.7.0.0</em
></p
></td
></tr
><tr
><td colspan="2"
><details id="i:id:WrappedArrow:Rep1:6"
><summary class="hide-when-js-enabled"
>Instance details</summary
><p
>Defined in <a href="#"
>Control.Applicative</a
></p
> <div class="src"
><span class="keyword"
>type</span
> <a href="#" title="GHC.Generics"
>Rep1</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b :: <a href="#" title="Data.Kind"
>Type</a
> -> <a href="#" title="Data.Kind"
>Type</a
>) = <a href="#" title="GHC.Generics"
>D1</a
> ('<a href="#" title="GHC.Generics"
>MetaData</a
> "WrappedArrow" "Control.Applicative" "base" '<a href="#" title="Data.Bool"
>True</a
>) (<a href="#" title="GHC.Generics"
>C1</a
> ('<a href="#" title="GHC.Generics"
>MetaCons</a
> "WrapArrow" '<a href="#" title="GHC.Generics"
>PrefixI</a
> '<a href="#" title="Data.Bool"
>True</a
>) (<a href="#" title="GHC.Generics"
>S1</a
> ('<a href="#" title="GHC.Generics"
>MetaSel</a
> ('<a href="#" title="Data.Maybe"
>Just</a
> "unwrapArrow") '<a href="#" title="GHC.Generics"
>NoSourceUnpackedness</a
> '<a href="#" title="GHC.Generics"
>NoSourceStrictness</a
> '<a href="#" title="GHC.Generics"
>DecidedLazy</a
>) (<a href="#" title="GHC.Generics"
>Rec1</a
> (a b))))</div
></details
></td
></tr
><tr
><td class="src clearfix"
><span class="inst-left"
><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Rep:7"
></span
> <span class="keyword"
>type</span
> <a href="#" title="GHC.Generics"
>Rep</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b c)</span
></td
><td class="doc"
><p
><em
>Since: base-4.7.0.0</em
></p
></td
></tr
><tr
><td colspan="2"
><details id="i:id:WrappedArrow:Rep:7"
><summary class="hide-when-js-enabled"
>Instance details</summary
><p
>Defined in <a href="#"
>Control.Applicative</a
></p
> <div class="src"
><span class="keyword"
>type</span
> <a href="#" title="GHC.Generics"
>Rep</a
> (<a href="#" title="Bug548"
>WrappedArrow</a
> a b c) = <a href="#" title="GHC.Generics"
>D1</a
> ('<a href="#" title="GHC.Generics"
>MetaData</a
> "WrappedArrow" "Control.Applicative" "base" '<a href="#" title="Data.Bool"
>True</a
>) (<a href="#" title="GHC.Generics"
>C1</a
> ('<a href="#" title="GHC.Generics"
>MetaCons</a
> "WrapArrow" '<a href="#" title="GHC.Generics"
>PrefixI</a
> '<a href="#" title="Data.Bool"
>True</a
>) (<a href="#" title="GHC.Generics"
>S1</a
> ('<a href="#" title="GHC.Generics"
>MetaSel</a
> ('<a href="#" title="Data.Maybe"
>Just</a
> "unwrapArrow") '<a href="#" title="GHC.Generics"
>NoSourceUnpackedness</a
> '<a href="#" title="GHC.Generics"
>NoSourceStrictness</a
> '<a href="#" title="GHC.Generics"
>DecidedLazy</a
>) (<a href="#" title="GHC.Generics"
>Rec0</a
> (a b c))))</div
></details
></td
></tr
></table
></details
></div
></div
></div
></div
><div id="footer"
></div
></body
></html
>
|