Cabal-2.2.0.1: doc/API/Cabal/Distribution-Compat-Binary.html
<!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>Distribution.Compat.Binary</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></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">Cabal-2.2.0.1: A framework for packaging Haskell software</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Distribution.Compat.Binary</p></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:decodeOrFailIO">decodeOrFailIO</a> :: <a href="Distribution-Compat-Prelude-Internal.html#t:Binary" title="Distribution.Compat.Prelude.Internal">Binary</a> a => <a href="file:///opt/ghc/8.4.1/share/doc/ghc-8.4.1/html/libraries/bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> -> <a href="file:///opt/ghc/8.4.1/share/doc/ghc-8.4.1/html/libraries/base-4.11.0.0/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Distribution-Compat-Prelude-Internal.html#t:Either" title="Distribution.Compat.Prelude.Internal">Either</a> <a href="Distribution-Compat-Prelude-Internal.html#t:String" title="Distribution.Compat.Prelude.Internal">String</a> a)</li><li class="src short"><a href="#v:decodeFileOrFail-39-">decodeFileOrFail'</a> :: <a href="Distribution-Compat-Prelude-Internal.html#t:Binary" title="Distribution.Compat.Prelude.Internal">Binary</a> a => <a href="Distribution-Compat-Prelude-Internal.html#t:FilePath" title="Distribution.Compat.Prelude.Internal">FilePath</a> -> <a href="file:///opt/ghc/8.4.1/share/doc/ghc-8.4.1/html/libraries/base-4.11.0.0/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Distribution-Compat-Prelude-Internal.html#t:Either" title="Distribution.Compat.Prelude.Internal">Either</a> <a href="Distribution-Compat-Prelude-Internal.html#t:String" title="Distribution.Compat.Prelude.Internal">String</a> a)</li><li class="src short">module <a href="file:///opt/ghc/8.4.1/share/doc/ghc-8.4.1/html/libraries/binary-0.8.5.1/Data-Binary.html">Data.Binary</a></li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:decodeOrFailIO" class="def">decodeOrFailIO</a> :: <a href="Distribution-Compat-Prelude-Internal.html#t:Binary" title="Distribution.Compat.Prelude.Internal">Binary</a> a => <a href="file:///opt/ghc/8.4.1/share/doc/ghc-8.4.1/html/libraries/bytestring-0.10.8.2/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> -> <a href="file:///opt/ghc/8.4.1/share/doc/ghc-8.4.1/html/libraries/base-4.11.0.0/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Distribution-Compat-Prelude-Internal.html#t:Either" title="Distribution.Compat.Prelude.Internal">Either</a> <a href="Distribution-Compat-Prelude-Internal.html#t:String" title="Distribution.Compat.Prelude.Internal">String</a> a) <a href="#v:decodeOrFailIO" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:decodeFileOrFail-39-" class="def">decodeFileOrFail'</a> :: <a href="Distribution-Compat-Prelude-Internal.html#t:Binary" title="Distribution.Compat.Prelude.Internal">Binary</a> a => <a href="Distribution-Compat-Prelude-Internal.html#t:FilePath" title="Distribution.Compat.Prelude.Internal">FilePath</a> -> <a href="file:///opt/ghc/8.4.1/share/doc/ghc-8.4.1/html/libraries/base-4.11.0.0/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="Distribution-Compat-Prelude-Internal.html#t:Either" title="Distribution.Compat.Prelude.Internal">Either</a> <a href="Distribution-Compat-Prelude-Internal.html#t:String" title="Distribution.Compat.Prelude.Internal">String</a> a) <a href="#v:decodeFileOrFail-39-" class="selflink">#</a></p><div class="doc"><p>Lazily reconstruct a value previously written to a file.</p></div></div><div class="top"><p class="src">module <a href="file:///opt/ghc/8.4.1/share/doc/ghc-8.4.1/html/libraries/binary-0.8.5.1/Data-Binary.html">Data.Binary</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.19.0</p></div></body></html>