/usr/share/doc/libghc-enumerator-doc/html/src/Data-Enumerator-IO.html is in libghc-enumerator-doc 0.4.19-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<!-- Generated by HsColour, http://code.haskell.org/~malcolm/hscolour/ -->
<title>lib/Data/Enumerator/IO.hs</title>
<link type='text/css' rel='stylesheet' href='hscolour.css' />
</head>
<body>
<pre><a name="line-1"></a><span class='hs-comment'>{-# OPTIONS_HADDOCK hide #-}</span>
<a name="line-2"></a>
<a name="line-3"></a><span class='hs-comment'>-- |</span>
<a name="line-4"></a><span class='hs-comment'>-- Module: Data.Enumerator.IO</span>
<a name="line-5"></a><span class='hs-comment'>-- Copyright: 2010-2011 John Millikin</span>
<a name="line-6"></a><span class='hs-comment'>-- License: MIT</span>
<a name="line-7"></a><span class='hs-comment'>--</span>
<a name="line-8"></a><span class='hs-comment'>-- Maintainer: jmillikin@gmail.com</span>
<a name="line-9"></a><span class='hs-comment'>-- Portability: portable</span>
<a name="line-10"></a><span class='hs-comment'>--</span>
<a name="line-11"></a><span class='hs-comment'>-- Deprecated in 0.4.5: use "Data.Enumerator.Binary" instead</span>
<a name="line-12"></a><span class='hs-keyword'>module</span> <span class='hs-conid'>Data</span><span class='hs-varop'>.</span><span class='hs-conid'>Enumerator</span><span class='hs-varop'>.</span><span class='hs-conid'>IO</span>
<a name="line-13"></a> <span class='hs-comment'>{-# DEPRECATED "Use 'Data.Enumerator.Binary' instead" #-}</span>
<a name="line-14"></a> <span class='hs-layout'>(</span> <span class='hs-varid'>enumHandle</span>
<a name="line-15"></a> <span class='hs-layout'>,</span> <span class='hs-varid'>enumFile</span>
<a name="line-16"></a> <span class='hs-layout'>,</span> <span class='hs-varid'>iterHandle</span>
<a name="line-17"></a> <span class='hs-layout'>)</span> <span class='hs-keyword'>where</span>
<a name="line-18"></a><span class='hs-keyword'>import</span> <span class='hs-conid'>Control</span><span class='hs-varop'>.</span><span class='hs-conid'>Monad</span><span class='hs-varop'>.</span><span class='hs-conid'>IO</span><span class='hs-varop'>.</span><span class='hs-conid'>Class</span> <span class='hs-layout'>(</span><span class='hs-conid'>MonadIO</span><span class='hs-layout'>)</span>
<a name="line-19"></a><span class='hs-keyword'>import</span> <span class='hs-keyword'>qualified</span> <span class='hs-conid'>Data</span><span class='hs-varop'>.</span><span class='hs-conid'>ByteString</span> <span class='hs-keyword'>as</span> <span class='hs-conid'>B</span>
<a name="line-20"></a><span class='hs-keyword'>import</span> <span class='hs-keyword'>qualified</span> <span class='hs-conid'>System</span><span class='hs-varop'>.</span><span class='hs-conid'>IO</span> <span class='hs-keyword'>as</span> <span class='hs-conid'>IO</span>
<a name="line-21"></a>
<a name="line-22"></a><span class='hs-keyword'>import</span> <span class='hs-keyword'>qualified</span> <span class='hs-conid'>Data</span><span class='hs-varop'>.</span><span class='hs-conid'>Enumerator</span> <span class='hs-keyword'>as</span> <span class='hs-conid'>E</span>
<a name="line-23"></a><span class='hs-keyword'>import</span> <span class='hs-keyword'>qualified</span> <span class='hs-conid'>Data</span><span class='hs-varop'>.</span><span class='hs-conid'>Enumerator</span><span class='hs-varop'>.</span><span class='hs-conid'>Binary</span> <span class='hs-keyword'>as</span> <span class='hs-conid'>EB</span>
<a name="line-24"></a>
<a name="line-25"></a><a name="enumHandle"></a><span class='hs-comment'>{-# DEPRECATED enumHandle "Use 'Data.Enumerator.Binary.enumHandle' instead" #-}</span>
<a name="line-26"></a><span class='hs-comment'>-- | Deprecated in 0.4.5: use 'EB.enumHandle' instead</span>
<a name="line-27"></a><span class='hs-definition'>enumHandle</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>MonadIO</span> <span class='hs-varid'>m</span>
<a name="line-28"></a> <span class='hs-keyglyph'>=></span> <span class='hs-conid'>Integer</span>
<a name="line-29"></a> <span class='hs-keyglyph'>-></span> <span class='hs-conid'>IO</span><span class='hs-varop'>.</span><span class='hs-conid'>Handle</span>
<a name="line-30"></a> <span class='hs-keyglyph'>-></span> <span class='hs-conid'>E</span><span class='hs-varop'>.</span><span class='hs-conid'>Enumerator</span> <span class='hs-conid'>B</span><span class='hs-varop'>.</span><span class='hs-conid'>ByteString</span> <span class='hs-varid'>m</span> <span class='hs-varid'>b</span>
<a name="line-31"></a><span class='hs-definition'>enumHandle</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>EB</span><span class='hs-varop'>.</span><span class='hs-varid'>enumHandle</span>
<a name="line-32"></a>
<a name="line-33"></a><a name="enumFile"></a><span class='hs-comment'>{-# DEPRECATED enumFile "Use 'Data.Enumerator.Binary.enumFile' instead" #-}</span>
<a name="line-34"></a><span class='hs-comment'>-- | Deprecated in 0.4.5: use 'EB.enumFile' instead</span>
<a name="line-35"></a><span class='hs-definition'>enumFile</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>FilePath</span> <span class='hs-keyglyph'>-></span> <span class='hs-conid'>E</span><span class='hs-varop'>.</span><span class='hs-conid'>Enumerator</span> <span class='hs-conid'>B</span><span class='hs-varop'>.</span><span class='hs-conid'>ByteString</span> <span class='hs-conid'>IO</span> <span class='hs-varid'>b</span>
<a name="line-36"></a><span class='hs-definition'>enumFile</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>EB</span><span class='hs-varop'>.</span><span class='hs-varid'>enumFile</span>
<a name="line-37"></a>
<a name="line-38"></a><a name="iterHandle"></a><span class='hs-comment'>{-# DEPRECATED iterHandle "Use 'Data.Enumerator.Binary.iterHandle' instead" #-}</span>
<a name="line-39"></a><span class='hs-comment'>-- | Deprecated in 0.4.5: use 'EB.iterHandle' instead</span>
<a name="line-40"></a><span class='hs-definition'>iterHandle</span> <span class='hs-keyglyph'>::</span> <span class='hs-conid'>MonadIO</span> <span class='hs-varid'>m</span> <span class='hs-keyglyph'>=></span> <span class='hs-conid'>IO</span><span class='hs-varop'>.</span><span class='hs-conid'>Handle</span>
<a name="line-41"></a> <span class='hs-keyglyph'>-></span> <span class='hs-conid'>E</span><span class='hs-varop'>.</span><span class='hs-conid'>Iteratee</span> <span class='hs-conid'>B</span><span class='hs-varop'>.</span><span class='hs-conid'>ByteString</span> <span class='hs-varid'>m</span> <span class='hs-conid'>()</span>
<a name="line-42"></a><span class='hs-definition'>iterHandle</span> <span class='hs-keyglyph'>=</span> <span class='hs-conid'>EB</span><span class='hs-varop'>.</span><span class='hs-varid'>iterHandle</span>
</pre></body>
</html>
|