<!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>Compiler.Hoopl.Wrappers</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_Compiler-Hoopl-Wrappers.html");}; //]]> </script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hoopl-3.8.7.3: A library to support dataflow analysis and optimization</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr></table><p class="caption">Compiler.Hoopl.Wrappers</p></div><div id="description"><p class="caption">Description</p><div class="doc"><div class="warning"><p>Deprecated: Use only if you know what you are doing and can preserve the 'respects fuel' invariant</p></div></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:wrapFR" class="def">wrapFR</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<span class="keyword">forall</span> e x. (n e x -> f -> m (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n e x, <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m n f))) -> n' e x -> f' -> m' (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n' e x, <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m' n' f')))</td><td class="doc"><p>This argument may assume that any function passed to it respects fuel, and it must return a result that respects fuel. </p></td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m n f</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m' n' f'</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:wrapFR2" class="def">wrapFR2</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<span class="keyword">forall</span> e x. (n1 e x -> f1 -> m1 (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n1 e x, <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m1 n1 f1))) -> (n2 e x -> f2 -> m2 (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n2 e x, <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m2 n2 f2))) -> n3 e x -> f3 -> m3 (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n3 e x, <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m3 n3 f3)))</td><td class="doc"><p>This argument may assume that any function passed to it respects fuel, and it must return a result that respects fuel. </p></td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m1 n1 f1</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m2 n2 f2</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:FwdRewrite">FwdRewrite</a> m3 n3 f3</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:wrapBR" class="def">wrapBR</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<span class="keyword">forall</span> e x. <a href="Compiler-Hoopl.html#t:Shape">Shape</a> x -> (n e x -> <a href="Compiler-Hoopl.html#t:Fact">Fact</a> x f -> m (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n e x, <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m n f))) -> n' e x -> <a href="Compiler-Hoopl.html#t:Fact">Fact</a> x f' -> m' (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n' e x, <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m' n' f')))</td><td class="doc"><p>This argument may assume that any function passed to it respects fuel, and it must return a result that respects fuel. </p></td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m n f</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m' n' f'</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:wrapBR2" class="def">wrapBR2</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<span class="keyword">forall</span> e x. <a href="Compiler-Hoopl.html#t:Shape">Shape</a> x -> (n1 e x -> <a href="Compiler-Hoopl.html#t:Fact">Fact</a> x f1 -> m1 (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n1 e x, <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m1 n1 f1))) -> (n2 e x -> <a href="Compiler-Hoopl.html#t:Fact">Fact</a> x f2 -> m2 (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n2 e x, <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m2 n2 f2))) -> n3 e x -> <a href="Compiler-Hoopl.html#t:Fact">Fact</a> x f3 -> m3 (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (Graph n3 e x, <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m3 n3 f3)))</td><td class="doc"><p>This argument may assume that any function passed to it respects fuel, and it must return a result that respects fuel. </p></td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m1 n1 f1</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m2 n2 f2</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Compiler-Hoopl.html#t:BwdRewrite">BwdRewrite</a> m3 n3 f3</td><td class="doc empty"> </td></tr></table></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>