/usr/share/doc/libghc-hsemail-doc/html/Text-Parsec-Rfc2822.html is in libghc-hsemail-doc 2-1.
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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | <!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>Text.Parsec.Rfc2822</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-Parsec-Rfc2822.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-Parsec-Rfc2822.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">hsemail-2: Parsec parsers for the RFC2822 Internet Message format</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) 2013 Peter Simons</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>simons@cryp.to</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Text.Parsec.Rfc2822</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Useful parser combinators</a><ul><li><a href="#g:2">Primitive Tokens (section 3.2.1)</a></li><li><a href="#g:3">Quoted characters (section 3.2.2)</a></li><li><a href="#g:4">Folding white space and comments (section 3.2.3)</a></li><li><a href="#g:5">Atom (section 3.2.4)</a></li><li><a href="#g:6">Quoted strings (section 3.2.5)</a></li></ul></li><li><a href="#g:7">Miscellaneous tokens (section 3.2.6)</a></li><li><a href="#g:8">Date and Time Specification (section 3.3)</a></li><li><a href="#g:9">Address Specification (section 3.4)</a><ul><li><a href="#g:10">Addr-spec specification (section 3.4.1)</a></li></ul></li><li><a href="#g:11">Overall message syntax (section 3.5)</a></li><li><a href="#g:12">Field definitions (section 3.6)</a><ul><li><a href="#g:13">The origination date field (section 3.6.1)</a></li><li><a href="#g:14">Originator fields (section 3.6.2)</a></li><li><a href="#g:15">Destination address fields (section 3.6.3)</a></li><li><a href="#g:16">Identification fields (section 3.6.4)</a></li><li><a href="#g:17">Informational fields (section 3.6.5)</a></li><li><a href="#g:18">Resent fields (section 3.6.6)</a></li><li><a href="#g:19">Trace fields (section 3.6.7)</a></li><li><a href="#g:20">Optional fields (section 3.6.8)</a></li></ul></li><li><a href="#g:21">Miscellaneous obsolete tokens (section 4.1)</a></li><li><a href="#g:22">Obsolete folding white space (section 4.2)</a></li><li><a href="#g:23">Obsolete Date and Time (section 4.3)</a></li><li><a href="#g:24">Obsolete Addressing (section 4.4)</a></li><li><a href="#g:25">Obsolete header fields (section 4.5)</a><ul><li><a href="#g:26">Obsolete origination date field (section 4.5.1)</a></li><li><a href="#g:27">Obsolete originator fields (section 4.5.2)</a></li><li><a href="#g:28">Obsolete destination address fields (section 4.5.3)</a></li><li><a href="#g:29">Obsolete identification fields (section 4.5.4)</a></li><li><a href="#g:30">Obsolete informational fields (section 4.5.5)</a></li><li><a href="#g:31">Obsolete resent fields (section 4.5.6)</a></li><li><a href="#g:32">Obsolete trace fields (section 4.5.7)</a></li></ul></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module provides parsers for the grammar defined in
RFC2822, "Internet Message Format",
<a href="http://www.faqs.org/rfcs/rfc2822.html">http://www.faqs.org/rfcs/rfc2822.html</a>.</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:maybeOption">maybeOption</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><a href="#v:unfold">unfold</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a</li><li class="src short"><a href="#v:header">header</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a</li><li class="src short"><a href="#v:obs_header">obs_header</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a</li><li class="src short"><a href="#v:no_ws_ctl">no_ws_ctl</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:text">text</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:specials">specials</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:quoted_pair">quoted_pair</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:fws">fws</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:ctext">ctext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:comment">comment</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:cfws">cfws</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:atext">atext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:atom">atom</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:dot_atom">dot_atom</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:dot_atom_text">dot_atom_text</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:qtext">qtext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:qcontent">qcontent</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:quoted_string">quoted_string</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:word">word</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:phrase">phrase</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:utext">utext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:unstructured">unstructured</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:date_time">date_time</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></li><li class="src short"><a href="#v:day_of_week">day_of_week</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Day">Day</a></li><li class="src short"><a href="#v:day_name">day_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Day">Day</a></li><li class="src short"><a href="#v:date">date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><a href="#v:year">year</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:month">month</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a></li><li class="src short"><a href="#v:month_name">month_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a></li><li class="src short"><a href="#v:day_of_month">day_of_month</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:day">day</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:time">time</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:TimeDiff">TimeDiff</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><a href="#v:time_of_day">time_of_day</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:TimeDiff">TimeDiff</a></li><li class="src short"><a href="#v:hour">hour</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:minute">minute</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:second">second</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:zone">zone</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:NameAddr">NameAddr</a> = <a href="#v:NameAddr">NameAddr</a> {<ul class="subs"><li><a href="#v:nameAddr_name">nameAddr_name</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li><a href="#v:nameAddr_addr">nameAddr_addr</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><a href="#v:address">address</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:mailbox">mailbox</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></li><li class="src short"><a href="#v:name_addr">name_addr</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></li><li class="src short"><a href="#v:angle_addr">angle_addr</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:group">group</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:display_name">display_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:mailbox_list">mailbox_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:address_list">address_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:addr_spec">addr_spec</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:local_part">local_part</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:domain">domain</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:domain_literal">domain_literal</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:dcontent">dcontent</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:dtext">dtext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:GenericMessage">GenericMessage</a> a = <a href="#v:Message">Message</a> [<a href="Text-Parsec-Rfc2822.html#t:Field">Field</a>] a</li><li class="src short"><a href="#v:message">message</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> s, <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a>) => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="Text-Parsec-Rfc2822.html#t:GenericMessage">GenericMessage</a> s)</li><li class="src short"><a href="#v:body">body</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> s, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m) => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m s</li><li class="src short"><span class="keyword">data</span> <a href="#t:Field">Field</a><ul class="subs"><li>= <a href="#v:OptionalField">OptionalField</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:From">From</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:Sender">Sender</a> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></li><li>| <a href="#v:ReturnPath">ReturnPath</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:ReplyTo">ReplyTo</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:To">To</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:Cc">Cc</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:Bcc">Bcc</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:MessageID">MessageID</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:InReplyTo">InReplyTo</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li>| <a href="#v:References">References</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li>| <a href="#v:Subject">Subject</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:Comments">Comments</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:Keywords">Keywords</a> [[<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]]</li><li>| <a href="#v:Date">Date</a> <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></li><li>| <a href="#v:ResentDate">ResentDate</a> <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></li><li>| <a href="#v:ResentFrom">ResentFrom</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:ResentSender">ResentSender</a> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></li><li>| <a href="#v:ResentTo">ResentTo</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:ResentCc">ResentCc</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:ResentBcc">ResentBcc</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:ResentMessageID">ResentMessageID</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:ResentReplyTo">ResentReplyTo</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li>| <a href="#v:Received">Received</a> ([(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)], <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a>)</li><li>| <a href="#v:ObsReceived">ObsReceived</a> [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)]</li></ul></li><li class="src short"><a href="#v:fields">fields</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:Field">Field</a>]</li><li class="src short"><a href="#v:orig_date">orig_date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></li><li class="src short"><a href="#v:from">from</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:sender">sender</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></li><li class="src short"><a href="#v:reply_to">reply_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:to">to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:cc">cc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:bcc">bcc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:message_id">message_id</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:in_reply_to">in_reply_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:references">references</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:msg_id">msg_id</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:id_left">id_left</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:id_right">id_right</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:no_fold_quote">no_fold_quote</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:no_fold_literal">no_fold_literal</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:subject">subject</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:comments">comments</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:keywords">keywords</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [[<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]]</li><li class="src short"><a href="#v:resent_date">resent_date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></li><li class="src short"><a href="#v:resent_from">resent_from</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:resent_sender">resent_sender</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></li><li class="src short"><a href="#v:resent_to">resent_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:resent_cc">resent_cc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:resent_bcc">resent_bcc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:resent_msg_id">resent_msg_id</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:return_path">return_path</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:path">path</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:received">received</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m ([(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)], <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a>)</li><li class="src short"><a href="#v:name_val_list">name_val_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)]</li><li class="src short"><a href="#v:name_val_pair">name_val_pair</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)</li><li class="src short"><a href="#v:item_name">item_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:item_value">item_value</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:optional_field">optional_field</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)</li><li class="src short"><a href="#v:field_name">field_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:ftext">ftext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:obs_qp">obs_qp</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_text">obs_text</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_char">obs_char</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a></li><li class="src short"><a href="#v:obs_utext">obs_utext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_phrase">obs_phrase</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:obs_phrase_list">obs_phrase_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:obs_fws">obs_fws</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_day_of_week">obs_day_of_week</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Day">Day</a></li><li class="src short"><a href="#v:obs_year">obs_year</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:obs_month">obs_month</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a></li><li class="src short"><a href="#v:obs_day">obs_day</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:obs_hour">obs_hour</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:obs_minute">obs_minute</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:obs_second">obs_second</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:obs_zone">obs_zone</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:obs_angle_addr">obs_angle_addr</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_route">obs_route</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:obs_domain_list">obs_domain_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:obs_local_part">obs_local_part</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_domain">obs_domain</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_mbox_list">obs_mbox_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_addr_list">obs_addr_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_fields">obs_fields</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:Field">Field</a>]</li><li class="src short"><a href="#v:obs_orig_date">obs_orig_date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></li><li class="src short"><a href="#v:obs_from">obs_from</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_sender">obs_sender</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></li><li class="src short"><a href="#v:obs_reply_to">obs_reply_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_to">obs_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_cc">obs_cc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_bcc">obs_bcc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_message_id">obs_message_id</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_in_reply_to">obs_in_reply_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:obs_references">obs_references</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:obs_id_left">obs_id_left</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_id_right">obs_id_right</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_subject">obs_subject</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_comments">obs_comments</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_keywords">obs_keywords</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:obs_resent_from">obs_resent_from</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_resent_send">obs_resent_send</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></li><li class="src short"><a href="#v:obs_resent_date">obs_resent_date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></li><li class="src short"><a href="#v:obs_resent_to">obs_resent_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_resent_cc">obs_resent_cc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_resent_bcc">obs_resent_bcc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_resent_mid">obs_resent_mid</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_resent_reply">obs_resent_reply</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</li><li class="src short"><a href="#v:obs_return">obs_return</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_received">obs_received</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)]</li><li class="src short"><a href="#v:obs_path">obs_path</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:obs_optional">obs_optional</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)</li></ul></div><div id="interface"><h1 id="g:1">Useful parser combinators</h1><div class="top"><p class="src"><a id="v:maybeOption" class="def">maybeOption</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> a) <a href="src/Text-Parsec-Rfc2822.html#maybeOption" class="link">Source</a> <a href="#v:maybeOption" class="selflink">#</a></p><div class="doc"><p>Return <code>Nothing</code> if the given parser doesn't match. This
combinator is included in the latest parsec distribution as
<code>optionMaybe</code>, but ghc-6.6.1 apparently doesn't have it.</p></div></div><div class="top"><p class="src"><a id="v:unfold" class="def">unfold</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a <a href="src/Text-Parsec-Rfc2822.html#unfold" class="link">Source</a> <a href="#v:unfold" class="selflink">#</a></p><div class="doc"><p><code>unfold</code> <code>=</code> <code>between (optional cfws) (optional cfws)</code></p></div></div><div class="top"><p class="src"><a id="v:header" class="def">header</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a <a href="src/Text-Parsec-Rfc2822.html#header" class="link">Source</a> <a href="#v:header" class="selflink">#</a></p><div class="doc"><p>Construct a parser for a message header line from the
header's name and a parser for the body.</p></div></div><div class="top"><p class="src"><a id="v:obs_header" class="def">obs_header</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a -> <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m a <a href="src/Text-Parsec-Rfc2822.html#obs_header" class="link">Source</a> <a href="#v:obs_header" class="selflink">#</a></p><div class="doc"><p>Like <code><a href="Text-Parsec-Rfc2822.html#v:header">header</a></code>, but allows the obsolete white-space rules.</p></div></div><h2 id="g:2">Primitive Tokens (section 3.2.1)</h2><div class="top"><p class="src"><a id="v:no_ws_ctl" class="def">no_ws_ctl</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#no_ws_ctl" class="link">Source</a> <a href="#v:no_ws_ctl" class="selflink">#</a></p><div class="doc"><p>Match any US-ASCII non-whitespace control character.</p></div></div><div class="top"><p class="src"><a id="v:text" class="def">text</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#text" class="link">Source</a> <a href="#v:text" class="selflink">#</a></p><div class="doc"><p>Match any US-ASCII character except for <code>r</code>, <code>n</code>.</p></div></div><div class="top"><p class="src"><a id="v:specials" class="def">specials</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#specials" class="link">Source</a> <a href="#v:specials" class="selflink">#</a></p><div class="doc"><p>Match any of the RFC's "special" characters: <code>()<>[]:;@,.\"</code>.</p></div></div><h2 id="g:3">Quoted characters (section 3.2.2)</h2><div class="top"><p class="src"><a id="v:quoted_pair" class="def">quoted_pair</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#quoted_pair" class="link">Source</a> <a href="#v:quoted_pair" class="selflink">#</a></p><div class="doc"><p>Match a "quoted pair". All characters matched by <code><a href="Text-Parsec-Rfc2822.html#v:text">text</a></code> may be
quoted. Note that the parsers returns <em>both</em> characters, the
backslash and the actual content.</p></div></div><h2 id="g:4">Folding white space and comments (section 3.2.3)</h2><div class="top"><p class="src"><a id="v:fws" class="def">fws</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#fws" class="link">Source</a> <a href="#v:fws" class="selflink">#</a></p><div class="doc"><p>Match "folding whitespace". That is any combination of <code><a href="Text-Parsec-Rfc2234.html#v:wsp">wsp</a></code> and
<code><a href="Text-Parsec-Rfc2234.html#v:crlf">crlf</a></code> followed by <code><a href="Text-Parsec-Rfc2234.html#v:wsp">wsp</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:ctext" class="def">ctext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#ctext" class="link">Source</a> <a href="#v:ctext" class="selflink">#</a></p><div class="doc"><p>Match any non-whitespace, non-control character except for "<code>(</code>",
"<code>)</code>", and "<code>\</code>". This is used to describe the legal content of
<code><a href="Text-Parsec-Rfc2822.html#v:comment">comment</a></code>s.</p><p><em>Note</em>: This parser accepts 8-bit characters, even though this is
not legal according to the RFC. Unfortunately, 8-bit content in
comments has become fairly common in the real world, so we'll just
accept the fact.</p></div></div><div class="top"><p class="src"><a id="v:comment" class="def">comment</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#comment" class="link">Source</a> <a href="#v:comment" class="selflink">#</a></p><div class="doc"><p>Match a "comments". That is any combination of <code><a href="Text-Parsec-Rfc2822.html#v:ctext">ctext</a></code>,
<code><a href="Text-Parsec-Rfc2822.html#v:quoted_pair">quoted_pair</a></code>s, and <code><a href="Text-Parsec-Rfc2822.html#v:fws">fws</a></code> between brackets. Comments may nest.</p></div></div><div class="top"><p class="src"><a id="v:cfws" class="def">cfws</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#cfws" class="link">Source</a> <a href="#v:cfws" class="selflink">#</a></p><div class="doc"><p>Match any combination of <code><a href="Text-Parsec-Rfc2822.html#v:fws">fws</a></code> and <code><a href="Text-Parsec-Rfc2822.html#v:comments">comments</a></code>.</p></div></div><h2 id="g:5">Atom (section 3.2.4)</h2><div class="top"><p class="src"><a id="v:atext" class="def">atext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#atext" class="link">Source</a> <a href="#v:atext" class="selflink">#</a></p><div class="doc"><p>Match any US-ASCII character except for control characters,
<code><a href="Text-Parsec-Rfc2822.html#v:specials">specials</a></code>, or space. <code><a href="Text-Parsec-Rfc2822.html#v:atom">atom</a></code> and <code><a href="Text-Parsec-Rfc2822.html#v:dot_atom">dot_atom</a></code> are made up of this.</p></div></div><div class="top"><p class="src"><a id="v:atom" class="def">atom</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#atom" class="link">Source</a> <a href="#v:atom" class="selflink">#</a></p><div class="doc"><p>Match one or more <code><a href="Text-Parsec-Rfc2822.html#v:atext">atext</a></code> characters and skip any preceeding or
trailing <code><a href="Text-Parsec-Rfc2822.html#v:cfws">cfws</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:dot_atom" class="def">dot_atom</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#dot_atom" class="link">Source</a> <a href="#v:dot_atom" class="selflink">#</a></p><div class="doc"><p>Match <code><a href="Text-Parsec-Rfc2822.html#v:dot_atom_text">dot_atom_text</a></code> and skip any preceeding or trailing <code><a href="Text-Parsec-Rfc2822.html#v:cfws">cfws</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:dot_atom_text" class="def">dot_atom_text</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#dot_atom_text" class="link">Source</a> <a href="#v:dot_atom_text" class="selflink">#</a></p><div class="doc"><p>Match two or more <code><a href="Text-Parsec-Rfc2822.html#v:atext">atext</a></code>s interspersed by dots.</p></div></div><h2 id="g:6">Quoted strings (section 3.2.5)</h2><div class="top"><p class="src"><a id="v:qtext" class="def">qtext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#qtext" class="link">Source</a> <a href="#v:qtext" class="selflink">#</a></p><div class="doc"><p>Match any non-whitespace, non-control US-ASCII character except
for "<code>\</code>" and "<code>"</code>".</p></div></div><div class="top"><p class="src"><a id="v:qcontent" class="def">qcontent</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#qcontent" class="link">Source</a> <a href="#v:qcontent" class="selflink">#</a></p><div class="doc"><p>Match either <code><a href="Text-Parsec-Rfc2822.html#v:qtext">qtext</a></code> or <code><a href="Text-Parsec-Rfc2822.html#v:quoted_pair">quoted_pair</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:quoted_string" class="def">quoted_string</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#quoted_string" class="link">Source</a> <a href="#v:quoted_string" class="selflink">#</a></p><div class="doc"><p>Match any number of <code><a href="Text-Parsec-Rfc2822.html#v:qcontent">qcontent</a></code> between double quotes. Any <code><a href="Text-Parsec-Rfc2822.html#v:cfws">cfws</a></code>
preceeding or following the "atom" is skipped automatically.</p></div></div><h1 id="g:7">Miscellaneous tokens (section 3.2.6)</h1><div class="top"><p class="src"><a id="v:word" class="def">word</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#word" class="link">Source</a> <a href="#v:word" class="selflink">#</a></p><div class="doc"><p>Match either <code><a href="Text-Parsec-Rfc2822.html#v:atom">atom</a></code> or <code><a href="Text-Parsec-Rfc2822.html#v:quoted_string">quoted_string</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:phrase" class="def">phrase</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#phrase" class="link">Source</a> <a href="#v:phrase" class="selflink">#</a></p><div class="doc"><p>Match either one or more <code><a href="Text-Parsec-Rfc2822.html#v:word">word</a></code>s or an <code><a href="Text-Parsec-Rfc2822.html#v:obs_phrase">obs_phrase</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:utext" class="def">utext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#utext" class="link">Source</a> <a href="#v:utext" class="selflink">#</a></p><div class="doc"><p>Match any non-whitespace, non-control US-ASCII character except
for "<code>\</code>" and "<code>"</code>".</p></div></div><div class="top"><p class="src"><a id="v:unstructured" class="def">unstructured</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#unstructured" class="link">Source</a> <a href="#v:unstructured" class="selflink">#</a></p><div class="doc"><p>Match any number of <code><a href="Text-Parsec-Rfc2822.html#v:utext">utext</a></code> tokens.</p><p>"Unstructured text" is used in free text fields such as <code><a href="Text-Parsec-Rfc2822.html#v:subject">subject</a></code>.
Please note that any comments or whitespace that prefaces or
follows the actual <code><a href="Text-Parsec-Rfc2822.html#v:utext">utext</a></code> is <em>included</em> in the returned string.</p></div></div><h1 id="g:8">Date and Time Specification (section 3.3)</h1><div class="top"><p class="src"><a id="v:date_time" class="def">date_time</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a> <a href="src/Text-Parsec-Rfc2822.html#date_time" class="link">Source</a> <a href="#v:date_time" class="selflink">#</a></p><div class="doc"><p>Parse a date and time specification of the form</p><pre> Thu, 19 Dec 2002 20:35:46 +0200</pre><p>where the weekday specification "<code>Thu,</code>" is optional. The parser
returns a <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></code>, which is set to the appropriate values.
Note, though, that not all fields of <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></code> will
necessarily be set correctly! Obviously, when no weekday has been
provided, the parser will set this field to <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#v:Monday">Monday</a></code> - regardless
of whether the day actually is a monday or not. Similarly, the day
of the year will always be returned as <code>0</code>. The timezone name will
always be empty: <code>""</code>.</p><p>Nor will the <code><a href="Text-Parsec-Rfc2822.html#v:date_time">date_time</a></code> parser perform <em>any</em> consistency checking.
It will accept</p><pre> 40 Apr 2002 13:12 +0100</pre><p>as a perfectly valid date.</p><p>In order to get all fields set to meaningful values, and in order
to verify the date's consistency, you will have to feed it into any
of the conversion routines provided in <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html">System.Time</a>, such as
<code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#v:toClockTime">toClockTime</a></code>. (When doing this, keep in mind that most functions
return <em>local time</em>. This will not necessarily be the time you're
expecting.)</p></div></div><div class="top"><p class="src"><a id="v:day_of_week" class="def">day_of_week</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Day">Day</a> <a href="src/Text-Parsec-Rfc2822.html#day_of_week" class="link">Source</a> <a href="#v:day_of_week" class="selflink">#</a></p><div class="doc"><p>This parser matches a <code><a href="Text-Parsec-Rfc2822.html#v:day_name">day_name</a></code> or an <code><a href="Text-Parsec-Rfc2822.html#v:obs_day_of_week">obs_day_of_week</a></code> (optionally
wrapped in folding whitespace) and return its <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Day">Day</a></code> value.</p></div></div><div class="top"><p class="src"><a id="v:day_name" class="def">day_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Day">Day</a> <a href="src/Text-Parsec-Rfc2822.html#day_name" class="link">Source</a> <a href="#v:day_name" class="selflink">#</a></p><div class="doc"><p>This parser will the abbreviated weekday names ("<code>Mon</code>", "<code>Tue</code>", ...)
and return the appropriate <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Day">Day</a></code> value.</p></div></div><div class="top"><p class="src"><a id="v:date" class="def">date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>) <a href="src/Text-Parsec-Rfc2822.html#date" class="link">Source</a> <a href="#v:date" class="selflink">#</a></p><div class="doc"><p>This parser will match a date of the form "<code>dd:mm:yyyy</code>" and return
a tripple of the form (Int,Month,Int) - corresponding to
(year,month,day).</p></div></div><div class="top"><p class="src"><a id="v:year" class="def">year</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#year" class="link">Source</a> <a href="#v:year" class="selflink">#</a></p><div class="doc"><p>This parser will match a four digit number and return its integer
value. No range checking is performed.</p></div></div><div class="top"><p class="src"><a id="v:month" class="def">month</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a> <a href="src/Text-Parsec-Rfc2822.html#month" class="link">Source</a> <a href="#v:month" class="selflink">#</a></p><div class="doc"><p>This parser will match a <code><a href="Text-Parsec-Rfc2822.html#v:month_name">month_name</a></code>, optionally wrapped in
folding whitespace, or an <code><a href="Text-Parsec-Rfc2822.html#v:obs_month">obs_month</a></code> and return its <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a></code>
value.</p></div></div><div class="top"><p class="src"><a id="v:month_name" class="def">month_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a> <a href="src/Text-Parsec-Rfc2822.html#month_name" class="link">Source</a> <a href="#v:month_name" class="selflink">#</a></p><div class="doc"><p>This parser will the abbreviated month names ("<code>Jan</code>", "<code>Feb</code>", ...)
and return the appropriate <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a></code> value.</p></div></div><div class="top"><p class="src"><a id="v:day_of_month" class="def">day_of_month</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#day_of_month" class="link">Source</a> <a href="#v:day_of_month" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:day" class="def">day</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#day" class="link">Source</a> <a href="#v:day" class="selflink">#</a></p><div class="doc"><p>Match a 1 or 2-digit number (day of month), recognizing both
standard and obsolete folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:time" class="def">time</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:TimeDiff">TimeDiff</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>) <a href="src/Text-Parsec-Rfc2822.html#time" class="link">Source</a> <a href="#v:time" class="selflink">#</a></p><div class="doc"><p>This parser will match a <code><a href="Text-Parsec-Rfc2822.html#v:time_of_day">time_of_day</a></code> specification followed by a
<code><a href="Text-Parsec-Rfc2822.html#v:zone">zone</a></code>. It returns the tuple (TimeDiff,Int) corresponding to the
return values of either parser.</p></div></div><div class="top"><p class="src"><a id="v:time_of_day" class="def">time_of_day</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:TimeDiff">TimeDiff</a> <a href="src/Text-Parsec-Rfc2822.html#time_of_day" class="link">Source</a> <a href="#v:time_of_day" class="selflink">#</a></p><div class="doc"><p>This parser will match a time-of-day specification of "<code>hh:mm</code>" or
"<code>hh:mm:ss</code>" and return the corrsponding time as a <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:TimeDiff">TimeDiff</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:hour" class="def">hour</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#hour" class="link">Source</a> <a href="#v:hour" class="selflink">#</a></p><div class="doc"><p>This parser will match a two-digit number and return its integer
value. No range checking is performed.</p></div></div><div class="top"><p class="src"><a id="v:minute" class="def">minute</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#minute" class="link">Source</a> <a href="#v:minute" class="selflink">#</a></p><div class="doc"><p>This parser will match a two-digit number and return its integer
value. No range checking is performed.</p></div></div><div class="top"><p class="src"><a id="v:second" class="def">second</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#second" class="link">Source</a> <a href="#v:second" class="selflink">#</a></p><div class="doc"><p>This parser will match a two-digit number and return its integer
value. No range checking takes place.</p></div></div><div class="top"><p class="src"><a id="v:zone" class="def">zone</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#zone" class="link">Source</a> <a href="#v:zone" class="selflink">#</a></p><div class="doc"><p>This parser will match a timezone specification of the form
"<code>+hhmm</code>" or "<code>-hhmm</code>" and return the zone's offset to UTC in
seconds as an integer. <code><a href="Text-Parsec-Rfc2822.html#v:obs_zone">obs_zone</a></code> is matched as well.</p></div></div><h1 id="g:9">Address Specification (section 3.4)</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:NameAddr" class="def">NameAddr</a> <a href="src/Text-Parsec-Rfc2822.html#NameAddr" class="link">Source</a> <a href="#t:NameAddr" class="selflink">#</a></p><div class="doc"><p>A NameAddr is composed of an optional realname a mandatory
e-mail <code><a href="Text-Parsec-Rfc2822.html#v:address">address</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:NameAddr" class="def">NameAddr</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:nameAddr_name" class="def">nameAddr_name</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:nameAddr_addr" class="def">nameAddr_addr</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:NameAddr" class="caption collapser" onclick="toggleSection('i:NameAddr')">Instances</p><div id="section.i:NameAddr" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:NameAddr:Eq:1" class="instance expander" onclick="toggleSection('i:id:NameAddr:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></span> <a href="src/Text-Parsec-Rfc2822.html#line-416" class="link">Source</a> <a href="#t:NameAddr" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:NameAddr:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> -> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> -> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:NameAddr:Show:2" class="instance expander" onclick="toggleSection('i:id:NameAddr:Show:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></span> <a href="src/Text-Parsec-Rfc2822.html#line-416" class="link">Source</a> <a href="#t:NameAddr" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:NameAddr:Show:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:address" class="def">address</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#address" class="link">Source</a> <a href="#v:address" class="selflink">#</a></p><div class="doc"><p>Parse a single <code><a href="Text-Parsec-Rfc2822.html#v:mailbox">mailbox</a></code> or an address <code><a href="Text-Parsec-Rfc2822.html#v:group">group</a></code> and return the
address(es).</p></div></div><div class="top"><p class="src"><a id="v:mailbox" class="def">mailbox</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> <a href="src/Text-Parsec-Rfc2822.html#mailbox" class="link">Source</a> <a href="#v:mailbox" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:name_addr">name_addr</a></code> or an <code><a href="Text-Parsec-Rfc2822.html#v:addr_spec">addr_spec</a></code> and return the
address.</p></div></div><div class="top"><p class="src"><a id="v:name_addr" class="def">name_addr</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> <a href="src/Text-Parsec-Rfc2822.html#name_addr" class="link">Source</a> <a href="#v:name_addr" class="selflink">#</a></p><div class="doc"><p>Parse an <code><a href="Text-Parsec-Rfc2822.html#v:angle_addr">angle_addr</a></code>, optionally prefaced with a <code><a href="Text-Parsec-Rfc2822.html#v:display_name">display_name</a></code>,
and return the address.</p></div></div><div class="top"><p class="src"><a id="v:angle_addr" class="def">angle_addr</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#angle_addr" class="link">Source</a> <a href="#v:angle_addr" class="selflink">#</a></p><div class="doc"><p>Parse an <code><a href="Text-Parsec-Rfc2822.html#v:angle_addr">angle_addr</a></code> or an <code><a href="Text-Parsec-Rfc2822.html#v:obs_angle_addr">obs_angle_addr</a></code> and return the address.</p></div></div><div class="top"><p class="src"><a id="v:group" class="def">group</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#group" class="link">Source</a> <a href="#v:group" class="selflink">#</a></p><div class="doc"><p>Parse a "group" of addresses. That is a <code><a href="Text-Parsec-Rfc2822.html#v:display_name">display_name</a></code>, followed
by a colon, optionally followed by a <code><a href="Text-Parsec-Rfc2822.html#v:mailbox_list">mailbox_list</a></code>, followed by a
semicolon. The found address(es) are returned - what may be none.
Here is an example:</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>parse group "" "my group: user1@example.org, user2@example.org;"
</code></strong>Right [NameAddr {nameAddr_name = Nothing, nameAddr_addr = "user1@example.org"},NameAddr {nameAddr_name = Nothing, nameAddr_addr = "user2@example.org"}]
</pre></div></div><div class="top"><p class="src"><a id="v:display_name" class="def">display_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#display_name" class="link">Source</a> <a href="#v:display_name" class="selflink">#</a></p><div class="doc"><p>Parse and return a <code><a href="Text-Parsec-Rfc2822.html#v:phrase">phrase</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:mailbox_list" class="def">mailbox_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#mailbox_list" class="link">Source</a> <a href="#v:mailbox_list" class="selflink">#</a></p><div class="doc"><p>Parse a list of <code><a href="Text-Parsec-Rfc2822.html#v:mailbox">mailbox</a></code> addresses, every two addresses being
separated by a comma, and return the list of found address(es).</p></div></div><div class="top"><p class="src"><a id="v:address_list" class="def">address_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#address_list" class="link">Source</a> <a href="#v:address_list" class="selflink">#</a></p><div class="doc"><p>Parse a list of <code><a href="Text-Parsec-Rfc2822.html#v:address">address</a></code> addresses, every two addresses being
separated by a comma, and return the list of found address(es).</p></div></div><h2 id="g:10">Addr-spec specification (section 3.4.1)</h2><div class="top"><p class="src"><a id="v:addr_spec" class="def">addr_spec</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#addr_spec" class="link">Source</a> <a href="#v:addr_spec" class="selflink">#</a></p><div class="doc"><p>Parse an "address specification". That is a <code><a href="Text-Parsec-Rfc2822.html#v:local_part">local_part</a></code>, followed
by an "<code>@</code>" character, followed by a <code><a href="Text-Parsec-Rfc2822.html#v:domain">domain</a></code>. Return the complete
address as <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></code>, ignoring any whitespace or any comments.</p></div></div><div class="top"><p class="src"><a id="v:local_part" class="def">local_part</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#local_part" class="link">Source</a> <a href="#v:local_part" class="selflink">#</a></p><div class="doc"><p>Parse and return a "local part" of an <code><a href="Text-Parsec-Rfc2822.html#v:addr_spec">addr_spec</a></code>. That is either
a <code><a href="Text-Parsec-Rfc2822.html#v:dot_atom">dot_atom</a></code> or a <code><a href="Text-Parsec-Rfc2822.html#v:quoted_string">quoted_string</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:domain" class="def">domain</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#domain" class="link">Source</a> <a href="#v:domain" class="selflink">#</a></p><div class="doc"><p>Parse and return a "domain part" of an <code><a href="Text-Parsec-Rfc2822.html#v:addr_spec">addr_spec</a></code>. That is either
a <code><a href="Text-Parsec-Rfc2822.html#v:dot_atom">dot_atom</a></code> or a <code><a href="Text-Parsec-Rfc2822.html#v:domain_literal">domain_literal</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:domain_literal" class="def">domain_literal</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#domain_literal" class="link">Source</a> <a href="#v:domain_literal" class="selflink">#</a></p><div class="doc"><p>Parse a "domain literal". That is a "<code>[</code>" character, followed by
any amount of <code><a href="Text-Parsec-Rfc2822.html#v:dcontent">dcontent</a></code>, followed by a terminating "<code>]</code>"
character. The complete string is returned verbatim.</p></div></div><div class="top"><p class="src"><a id="v:dcontent" class="def">dcontent</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#dcontent" class="link">Source</a> <a href="#v:dcontent" class="selflink">#</a></p><div class="doc"><p>Parse and return any characters that are legal in a
<code><a href="Text-Parsec-Rfc2822.html#v:domain_literal">domain_literal</a></code>. That is <code><a href="Text-Parsec-Rfc2822.html#v:dtext">dtext</a></code> or a <code><a href="Text-Parsec-Rfc2822.html#v:quoted_pair">quoted_pair</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:dtext" class="def">dtext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#dtext" class="link">Source</a> <a href="#v:dtext" class="selflink">#</a></p><div class="doc"><p>Parse and return any ASCII characters except "<code>[</code>", "<code>]</code>", and
"<code>\</code>".</p></div></div><h1 id="g:11">Overall message syntax (section 3.5)</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:GenericMessage" class="def">GenericMessage</a> a <a href="src/Text-Parsec-Rfc2822.html#GenericMessage" class="link">Source</a> <a href="#t:GenericMessage" class="selflink">#</a></p><div class="doc"><p>This data type repesents a parsed Internet Message as defined in
this RFC. It consists of an arbitrary number of header lines,
represented in the <code><a href="Text-Parsec-Rfc2822.html#t:Field">Field</a></code> data type, and a message body, which may
be empty.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Message" class="def">Message</a> [<a href="Text-Parsec-Rfc2822.html#t:Field">Field</a>] a</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:GenericMessage" class="caption collapser" onclick="toggleSection('i:GenericMessage')">Instances</p><div id="section.i:GenericMessage" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:GenericMessage:Show:1" class="instance expander" onclick="toggleSection('i:id:GenericMessage:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> a => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Text-Parsec-Rfc2822.html#t:GenericMessage">GenericMessage</a> a)</span> <a href="src/Text-Parsec-Rfc2822.html#line-550" class="link">Source</a> <a href="#t:GenericMessage" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:GenericMessage:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Parsec-Rfc2822.html#t:GenericMessage">GenericMessage</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Parsec-Rfc2822.html#t:GenericMessage">GenericMessage</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Parsec-Rfc2822.html#t:GenericMessage">GenericMessage</a> a] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:message" class="def">message</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> s, <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a>) => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="Text-Parsec-Rfc2822.html#t:GenericMessage">GenericMessage</a> s) <a href="src/Text-Parsec-Rfc2822.html#message" class="link">Source</a> <a href="#v:message" class="selflink">#</a></p><div class="doc"><p>Parse a complete message as defined by this RFC and it broken down
into the separate header fields and the message body. Header lines,
which contain syntax errors, will not cause the parser to abort.
Rather, these headers will appear as <code><a href="Text-Parsec-Rfc2822.html#v:OptionalField">OptionalField</a></code>s (which are
unparsed) in the resulting <code><a href="Text-Parsec-Rfc2822.html#v:Message">Message</a></code>. A message must be really,
really badly broken for this parser to fail.</p><p>This behaviour was chosen because it is impossible to predict what
the user of this module considers to be a fatal error;
traditionally, parsers are very forgiving when it comes to Internet
messages.</p><p>If you want to implement a really strict parser, you'll have to put
the appropriate parser together yourself. You'll find that this is
rather easy to do. Refer to the <code><a href="Text-Parsec-Rfc2822.html#v:fields">fields</a></code> parser for further details.</p></div></div><div class="top"><p class="src"><a id="v:body" class="def">body</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Monoid.html#t:Monoid">Monoid</a> s, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m) => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m s <a href="src/Text-Parsec-Rfc2822.html#body" class="link">Source</a> <a href="#v:body" class="selflink">#</a></p><div class="doc"><p>A message body is just an unstructured sequence of characters.</p></div></div><h1 id="g:12">Field definitions (section 3.6)</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Field" class="def">Field</a> <a href="src/Text-Parsec-Rfc2822.html#Field" class="link">Source</a> <a href="#t:Field" class="selflink">#</a></p><div class="doc"><p>This data type represents any of the header fields defined in this
RFC. Each of the various instances contains with the return value
of the corresponding parser.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:OptionalField" class="def">OptionalField</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:From" class="def">From</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Sender" class="def">Sender</a> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ReturnPath" class="def">ReturnPath</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ReplyTo" class="def">ReplyTo</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:To" class="def">To</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Cc" class="def">Cc</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Bcc" class="def">Bcc</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:MessageID" class="def">MessageID</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:InReplyTo" class="def">InReplyTo</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:References" class="def">References</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Subject" class="def">Subject</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Comments" class="def">Comments</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Keywords" class="def">Keywords</a> [[<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Date" class="def">Date</a> <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ResentDate" class="def">ResentDate</a> <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ResentFrom" class="def">ResentFrom</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ResentSender" class="def">ResentSender</a> <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ResentTo" class="def">ResentTo</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ResentCc" class="def">ResentCc</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ResentBcc" class="def">ResentBcc</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ResentMessageID" class="def">ResentMessageID</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ResentReplyTo" class="def">ResentReplyTo</a> [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>]</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:Received" class="def">Received</a> ([(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)], <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:ObsReceived" class="def">ObsReceived</a> [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)]</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Field" class="caption collapser" onclick="toggleSection('i:Field')">Instances</p><div id="section.i:Field" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Field:Show:1" class="instance expander" onclick="toggleSection('i:id:Field:Show:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Text-Parsec-Rfc2822.html#t:Field">Field</a></span> <a href="src/Text-Parsec-Rfc2822.html#line-611" class="link">Source</a> <a href="#t:Field" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Field:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Text-Parsec-Rfc2822.html#t:Field">Field</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Text-Parsec-Rfc2822.html#t:Field">Field</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Text-Parsec-Rfc2822.html#t:Field">Field</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:fields" class="def">fields</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:Field">Field</a>] <a href="src/Text-Parsec-Rfc2822.html#fields" class="link">Source</a> <a href="#v:fields" class="selflink">#</a></p><div class="doc"><p>This parser will parse an arbitrary number of header fields as
defined in this RFC. For each field, an appropriate <code><a href="Text-Parsec-Rfc2822.html#t:Field">Field</a></code> value
is created, all of them making up the <code><a href="Text-Parsec-Rfc2822.html#t:Field">Field</a></code> list that this parser
returns.</p><p>If you look at the implementation of this parser, you will find
that it uses Parsec's <code><a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#v:try">try</a></code> modifier around <em>all</em> of the fields.
The idea behind this is that fields, which contain syntax errors,
fall back to the catch-all <code><a href="Text-Parsec-Rfc2822.html#v:optional_field">optional_field</a></code>. Thus, this parser will
hardly ever return a syntax error -- what conforms with the idea
that any message that can possibly be accepted <em>should</em> be.</p></div></div><h2 id="g:13">The origination date field (section 3.6.1)</h2><div class="top"><p class="src"><a id="v:orig_date" class="def">orig_date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a> <a href="src/Text-Parsec-Rfc2822.html#orig_date" class="link">Source</a> <a href="#v:orig_date" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Date:</code>" header line and return the date it contains a
<code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></code>.</p></div></div><h2 id="g:14">Originator fields (section 3.6.2)</h2><div class="top"><p class="src"><a id="v:from" class="def">from</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#from" class="link">Source</a> <a href="#v:from" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>From:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:mailbox_list">mailbox_list</a></code>
address(es) contained in it.</p></div></div><div class="top"><p class="src"><a id="v:sender" class="def">sender</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> <a href="src/Text-Parsec-Rfc2822.html#sender" class="link">Source</a> <a href="#v:sender" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Sender:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:mailbox">mailbox</a></code> address
contained in it.</p></div></div><div class="top"><p class="src"><a id="v:reply_to" class="def">reply_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#reply_to" class="link">Source</a> <a href="#v:reply_to" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Reply-To:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:address_list">address_list</a></code>
address(es) contained in it.</p></div></div><h2 id="g:15">Destination address fields (section 3.6.3)</h2><div class="top"><p class="src"><a id="v:to" class="def">to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#to" class="link">Source</a> <a href="#v:to" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>To:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:address_list">address_list</a></code>
address(es) contained in it.</p></div></div><div class="top"><p class="src"><a id="v:cc" class="def">cc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#cc" class="link">Source</a> <a href="#v:cc" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Cc:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:address_list">address_list</a></code>
address(es) contained in it.</p></div></div><div class="top"><p class="src"><a id="v:bcc" class="def">bcc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#bcc" class="link">Source</a> <a href="#v:bcc" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Bcc:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:address_list">address_list</a></code>
address(es) contained in it.</p></div></div><h2 id="g:16">Identification fields (section 3.6.4)</h2><div class="top"><p class="src"><a id="v:message_id" class="def">message_id</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#message_id" class="link">Source</a> <a href="#v:message_id" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Message-Id:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:msg_id">msg_id</a></code>
contained in it.</p></div></div><div class="top"><p class="src"><a id="v:in_reply_to" class="def">in_reply_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#in_reply_to" class="link">Source</a> <a href="#v:in_reply_to" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>In-Reply-To:</code>" header line and return the list of
<code><a href="Text-Parsec-Rfc2822.html#v:msg_id">msg_id</a></code>s contained in it.</p></div></div><div class="top"><p class="src"><a id="v:references" class="def">references</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#references" class="link">Source</a> <a href="#v:references" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>References:</code>" header line and return the list of
<code><a href="Text-Parsec-Rfc2822.html#v:msg_id">msg_id</a></code>s contained in it.</p></div></div><div class="top"><p class="src"><a id="v:msg_id" class="def">msg_id</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#msg_id" class="link">Source</a> <a href="#v:msg_id" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>message ID:</code>" and return it. A message ID is almost
identical to an <code><a href="Text-Parsec-Rfc2822.html#v:angle_addr">angle_addr</a></code>, but with stricter rules about folding
and whitespace.</p></div></div><div class="top"><p class="src"><a id="v:id_left" class="def">id_left</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#id_left" class="link">Source</a> <a href="#v:id_left" class="selflink">#</a></p><div class="doc"><p>Parse a "left ID" part of a <code><a href="Text-Parsec-Rfc2822.html#v:msg_id">msg_id</a></code>. This is almost identical to
the <code><a href="Text-Parsec-Rfc2822.html#v:local_part">local_part</a></code> of an e-mail address, but with stricter rules
about folding and whitespace.</p></div></div><div class="top"><p class="src"><a id="v:id_right" class="def">id_right</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#id_right" class="link">Source</a> <a href="#v:id_right" class="selflink">#</a></p><div class="doc"><p>Parse a "right ID" part of a <code><a href="Text-Parsec-Rfc2822.html#v:msg_id">msg_id</a></code>. This is almost identical to
the <code><a href="Text-Parsec-Rfc2822.html#v:domain">domain</a></code> of an e-mail address, but with stricter rules about
folding and whitespace.</p></div></div><div class="top"><p class="src"><a id="v:no_fold_quote" class="def">no_fold_quote</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#no_fold_quote" class="link">Source</a> <a href="#v:no_fold_quote" class="selflink">#</a></p><div class="doc"><p>Parse one or more occurences of <code><a href="Text-Parsec-Rfc2822.html#v:qtext">qtext</a></code> or <code><a href="Text-Parsec-Rfc2822.html#v:quoted_pair">quoted_pair</a></code> and
return the concatenated string. This makes up the <code><a href="Text-Parsec-Rfc2822.html#v:id_left">id_left</a></code> of a
<code><a href="Text-Parsec-Rfc2822.html#v:msg_id">msg_id</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:no_fold_literal" class="def">no_fold_literal</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#no_fold_literal" class="link">Source</a> <a href="#v:no_fold_literal" class="selflink">#</a></p><div class="doc"><p>Parse one or more occurences of <code><a href="Text-Parsec-Rfc2822.html#v:dtext">dtext</a></code> or <code><a href="Text-Parsec-Rfc2822.html#v:quoted_pair">quoted_pair</a></code> and
return the concatenated string. This makes up the <code><a href="Text-Parsec-Rfc2822.html#v:id_right">id_right</a></code> of a
<code><a href="Text-Parsec-Rfc2822.html#v:msg_id">msg_id</a></code>.</p></div></div><h2 id="g:17">Informational fields (section 3.6.5)</h2><div class="top"><p class="src"><a id="v:subject" class="def">subject</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#subject" class="link">Source</a> <a href="#v:subject" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Subject:</code>" header line and return its contents verbatim.
Please note that all whitespace and/or comments are preserved, i.e.
the result of parsing <code>"Subject: foo"</code> is <code>" foo"</code>, not <code>"foo"</code>.</p></div></div><div class="top"><p class="src"><a id="v:comments" class="def">comments</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#comments" class="link">Source</a> <a href="#v:comments" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Comments:</code>" header line and return its contents verbatim.
Please note that all whitespace and/or comments are preserved, i.e.
the result of parsing <code>"Comments: foo"</code> is <code>" foo"</code>, not <code>"foo"</code>.</p></div></div><div class="top"><p class="src"><a id="v:keywords" class="def">keywords</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [[<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>]] <a href="src/Text-Parsec-Rfc2822.html#keywords" class="link">Source</a> <a href="#v:keywords" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Keywords:</code>" header line and return the list of <code><a href="Text-Parsec-Rfc2822.html#v:phrase">phrase</a></code>s
found. Please not that each phrase is again a list of <code><a href="Text-Parsec-Rfc2822.html#v:atom">atom</a></code>s, as
returned by the <code><a href="Text-Parsec-Rfc2822.html#v:phrase">phrase</a></code> parser.</p></div></div><h2 id="g:18">Resent fields (section 3.6.6)</h2><div class="top"><p class="src"><a id="v:resent_date" class="def">resent_date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a> <a href="src/Text-Parsec-Rfc2822.html#resent_date" class="link">Source</a> <a href="#v:resent_date" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Resent-Date:</code>" header line and return the date it
contains as <code><a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:resent_from" class="def">resent_from</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#resent_from" class="link">Source</a> <a href="#v:resent_from" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Resent-From:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:mailbox_list">mailbox_list</a></code>
address(es) contained in it.</p></div></div><div class="top"><p class="src"><a id="v:resent_sender" class="def">resent_sender</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> <a href="src/Text-Parsec-Rfc2822.html#resent_sender" class="link">Source</a> <a href="#v:resent_sender" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Resent-Sender:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:mailbox_list">mailbox_list</a></code>
address(es) contained in it.</p></div></div><div class="top"><p class="src"><a id="v:resent_to" class="def">resent_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#resent_to" class="link">Source</a> <a href="#v:resent_to" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Resent-To:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:mailbox">mailbox</a></code>
address contained in it.</p></div></div><div class="top"><p class="src"><a id="v:resent_cc" class="def">resent_cc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#resent_cc" class="link">Source</a> <a href="#v:resent_cc" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Resent-Cc:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:address_list">address_list</a></code>
address(es) contained in it.</p></div></div><div class="top"><p class="src"><a id="v:resent_bcc" class="def">resent_bcc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#resent_bcc" class="link">Source</a> <a href="#v:resent_bcc" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Resent-Bcc:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:address_list">address_list</a></code>
address(es) contained in it. (This list may be empty.)</p></div></div><div class="top"><p class="src"><a id="v:resent_msg_id" class="def">resent_msg_id</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#resent_msg_id" class="link">Source</a> <a href="#v:resent_msg_id" class="selflink">#</a></p><div class="doc"><p>Parse a "<code>Resent-Message-ID:</code>" header line and return the <code><a href="Text-Parsec-Rfc2822.html#v:msg_id">msg_id</a></code>
contained in it.</p></div></div><h2 id="g:19">Trace fields (section 3.6.7)</h2><div class="top"><p class="src"><a id="v:return_path" class="def">return_path</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#return_path" class="link">Source</a> <a href="#v:return_path" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:path" class="def">path</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#path" class="link">Source</a> <a href="#v:path" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:received" class="def">received</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m ([(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)], <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a>) <a href="src/Text-Parsec-Rfc2822.html#received" class="link">Source</a> <a href="#v:received" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:name_val_list" class="def">name_val_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)] <a href="src/Text-Parsec-Rfc2822.html#name_val_list" class="link">Source</a> <a href="#v:name_val_list" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:name_val_pair" class="def">name_val_pair</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>) <a href="src/Text-Parsec-Rfc2822.html#name_val_pair" class="link">Source</a> <a href="#v:name_val_pair" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:item_name" class="def">item_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#item_name" class="link">Source</a> <a href="#v:item_name" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:item_value" class="def">item_value</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#item_value" class="link">Source</a> <a href="#v:item_value" class="selflink">#</a></p></div><h2 id="g:20">Optional fields (section 3.6.8)</h2><div class="top"><p class="src"><a id="v:optional_field" class="def">optional_field</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>) <a href="src/Text-Parsec-Rfc2822.html#optional_field" class="link">Source</a> <a href="#v:optional_field" class="selflink">#</a></p><div class="doc"><p>Parse an arbitrary header field and return a tuple containing the
<code><a href="Text-Parsec-Rfc2822.html#v:field_name">field_name</a></code> and <code><a href="Text-Parsec-Rfc2822.html#v:unstructured">unstructured</a></code> text of the header. The name will
<em>not</em> contain the terminating colon.</p></div></div><div class="top"><p class="src"><a id="v:field_name" class="def">field_name</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#field_name" class="link">Source</a> <a href="#v:field_name" class="selflink">#</a></p><div class="doc"><p>Parse and return an arbitrary header field name. That is one or
more <code><a href="Text-Parsec-Rfc2822.html#v:ftext">ftext</a></code> characters.</p></div></div><div class="top"><p class="src"><a id="v:ftext" class="def">ftext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#ftext" class="link">Source</a> <a href="#v:ftext" class="selflink">#</a></p><div class="doc"><p>Match and return any ASCII character except for control
characters, whitespace, and "<code>:</code>".</p></div></div><h1 id="g:21">Miscellaneous obsolete tokens (section 4.1)</h1><div class="top"><p class="src"><a id="v:obs_qp" class="def">obs_qp</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_qp" class="link">Source</a> <a href="#v:obs_qp" class="selflink">#</a></p><div class="doc"><p>Match the obsolete "quoted pair" syntax, which - unlike
<code><a href="Text-Parsec-Rfc2822.html#v:quoted_pair">quoted_pair</a></code> - allowed <em>any</em> ASCII character to be specified when
quoted. The parser will return both, the backslash and the actual
character.</p></div></div><div class="top"><p class="src"><a id="v:obs_text" class="def">obs_text</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_text" class="link">Source</a> <a href="#v:obs_text" class="selflink">#</a></p><div class="doc"><p>Match the obsolete "text" syntax, which - unlike <code><a href="Text-Parsec-Rfc2822.html#v:text">text</a></code> - allowed
"carriage returns" and "linefeeds". This is really weird; you
better consult the RFC for details. The parser will return the
complete string, including those special characters.</p></div></div><div class="top"><p class="src"><a id="v:obs_char" class="def">obs_char</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> <a href="src/Text-Parsec-Rfc2822.html#obs_char" class="link">Source</a> <a href="#v:obs_char" class="selflink">#</a></p><div class="doc"><p>Match and return the obsolete "char" syntax, which - unlike
<code><a href="Text-Parsec-Rfc2234.html#v:character">character</a></code> - did not allow "carriage return" and "linefeed".</p></div></div><div class="top"><p class="src"><a id="v:obs_utext" class="def">obs_utext</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_utext" class="link">Source</a> <a href="#v:obs_utext" class="selflink">#</a></p><div class="doc"><p>Match and return the obsolete "utext" syntax, which is identical
to <code><a href="Text-Parsec-Rfc2822.html#v:obs_text">obs_text</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:obs_phrase" class="def">obs_phrase</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_phrase" class="link">Source</a> <a href="#v:obs_phrase" class="selflink">#</a></p><div class="doc"><p>Match the obsolete "phrase" syntax, which - unlike <code><a href="Text-Parsec-Rfc2822.html#v:phrase">phrase</a></code> -
allows dots between tokens.</p></div></div><div class="top"><p class="src"><a id="v:obs_phrase_list" class="def">obs_phrase_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_phrase_list" class="link">Source</a> <a href="#v:obs_phrase_list" class="selflink">#</a></p><div class="doc"><p>Match a "phrase list" syntax and return the list of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></code>s
that make up the phrase. In contrast to a <code><a href="Text-Parsec-Rfc2822.html#v:phrase">phrase</a></code>, the
<code><a href="Text-Parsec-Rfc2822.html#v:obs_phrase_list">obs_phrase_list</a></code> separates the individual words by commas. This
syntax is - as you will have guessed - obsolete.</p></div></div><h1 id="g:22">Obsolete folding white space (section 4.2)</h1><div class="top"><p class="src"><a id="v:obs_fws" class="def">obs_fws</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_fws" class="link">Source</a> <a href="#v:obs_fws" class="selflink">#</a></p><div class="doc"><p>Parse and return an "obsolete fws" token. That is at least one
<code><a href="Text-Parsec-Rfc2234.html#v:wsp">wsp</a></code> character, followed by an arbitrary number (including zero)
of <code><a href="Text-Parsec-Rfc2234.html#v:crlf">crlf</a></code> followed by at least one more <code><a href="Text-Parsec-Rfc2234.html#v:wsp">wsp</a></code> character.</p></div></div><h1 id="g:23">Obsolete Date and Time (section 4.3)</h1><div class="top"><p class="src"><a id="v:obs_day_of_week" class="def">obs_day_of_week</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Day">Day</a> <a href="src/Text-Parsec-Rfc2822.html#obs_day_of_week" class="link">Source</a> <a href="#v:obs_day_of_week" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:day_name">day_name</a></code> but allow for the obsolete folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_year" class="def">obs_year</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#obs_year" class="link">Source</a> <a href="#v:obs_year" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:year">year</a></code> but allow for a two-digit number (obsolete) and the
obsolete folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_month" class="def">obs_month</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:Month">Month</a> <a href="src/Text-Parsec-Rfc2822.html#obs_month" class="link">Source</a> <a href="#v:obs_month" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:month_name">month_name</a></code> but allow for the obsolete folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_day" class="def">obs_day</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#obs_day" class="link">Source</a> <a href="#v:obs_day" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:day">day</a></code> but allow for the obsolete folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_hour" class="def">obs_hour</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#obs_hour" class="link">Source</a> <a href="#v:obs_hour" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:hour">hour</a></code> but allow for the obsolete folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_minute" class="def">obs_minute</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#obs_minute" class="link">Source</a> <a href="#v:obs_minute" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:minute">minute</a></code> but allow for the obsolete folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_second" class="def">obs_second</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#obs_second" class="link">Source</a> <a href="#v:obs_second" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:second">second</a></code> but allow for the obsolete folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_zone" class="def">obs_zone</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Text-Parsec-Rfc2822.html#obs_zone" class="link">Source</a> <a href="#v:obs_zone" class="selflink">#</a></p><div class="doc"><p>Match the obsolete zone names and return the appropriate offset.</p></div></div><h1 id="g:24">Obsolete Addressing (section 4.4)</h1><div class="top"><p class="src"><a id="v:obs_angle_addr" class="def">obs_angle_addr</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_angle_addr" class="link">Source</a> <a href="#v:obs_angle_addr" class="selflink">#</a></p><div class="doc"><p>This parser matches the "obsolete angle address" syntax, a construct that
used to be called "route address" in earlier RFCs. It differs from a
standard <code><a href="Text-Parsec-Rfc2822.html#v:angle_addr">angle_addr</a></code> in two ways: (1) it allows far more
liberal insertion of folding whitespace and comments and (2) the address may
contain a "route" (which this parser ignores):</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>parse obs_angle_addr "" "<@example1.org,@example2.org:joe@example.org>"
</code></strong>Right "<joe@example.org>"
</pre></div></div><div class="top"><p class="src"><a id="v:obs_route" class="def">obs_route</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_route" class="link">Source</a> <a href="#v:obs_route" class="selflink">#</a></p><div class="doc"><p>This parser parses the "route" part of <code><a href="Text-Parsec-Rfc2822.html#v:obs_angle_addr">obs_angle_addr</a></code> and
returns the list of <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></code>s that make up this route. Relies on
<code><a href="Text-Parsec-Rfc2822.html#v:obs_domain_list">obs_domain_list</a></code> for the actual parsing.</p></div></div><div class="top"><p class="src"><a id="v:obs_domain_list" class="def">obs_domain_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_domain_list" class="link">Source</a> <a href="#v:obs_domain_list" class="selflink">#</a></p><div class="doc"><p>This parser parses a list of domain names, each of them prefaced
with an "at". Multiple names are separated by a comma. The list of
<code><a href="Text-Parsec-Rfc2822.html#v:domain">domain</a></code>s is returned - and may be empty.</p></div></div><div class="top"><p class="src"><a id="v:obs_local_part" class="def">obs_local_part</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_local_part" class="link">Source</a> <a href="#v:obs_local_part" class="selflink">#</a></p><div class="doc"><p>Parse the obsolete syntax of a <code><a href="Text-Parsec-Rfc2822.html#v:local_part">local_part</a></code>, which allowed for
more liberal insertion of folding whitespace and comments. The
actual string is returned.</p></div></div><div class="top"><p class="src"><a id="v:obs_domain" class="def">obs_domain</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_domain" class="link">Source</a> <a href="#v:obs_domain" class="selflink">#</a></p><div class="doc"><p>Parse the obsolete syntax of a <code><a href="Text-Parsec-Rfc2822.html#v:domain">domain</a></code>, which allowed for more
liberal insertion of folding whitespace and comments. The actual
string is returned.</p></div></div><div class="top"><p class="src"><a id="v:obs_mbox_list" class="def">obs_mbox_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_mbox_list" class="link">Source</a> <a href="#v:obs_mbox_list" class="selflink">#</a></p><div class="doc"><p>This parser will match the obsolete syntax for a <code><a href="Text-Parsec-Rfc2822.html#v:mailbox_list">mailbox_list</a></code>.
This one is quite weird: An <code><a href="Text-Parsec-Rfc2822.html#v:obs_mbox_list">obs_mbox_list</a></code> contains an arbitrary
number of <code><a href="Text-Parsec-Rfc2822.html#v:mailbox">mailbox</a></code>es - including none -, which are separated by
commas. But you may have multiple consecutive commas without giving
a <code><a href="Text-Parsec-Rfc2822.html#v:mailbox">mailbox</a></code>. You may also have a valid <code><a href="Text-Parsec-Rfc2822.html#v:obs_mbox_list">obs_mbox_list</a></code> that
contains <em>no</em> <code><a href="Text-Parsec-Rfc2822.html#v:mailbox">mailbox</a></code> at all. On the other hand, you <em>must</em> have
at least one comma. The following example is valid:</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>parse obs_mbox_list "" ","
</code></strong>Right []
</pre><p>But this one is not:</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>parse obs_mbox_list "" "joe@example.org"
</code></strong>Left (line 1, column 16):
unexpected end of input
expecting obsolete syntax for a list of mailboxes
</pre></div></div><div class="top"><p class="src"><a id="v:obs_addr_list" class="def">obs_addr_list</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_addr_list" class="link">Source</a> <a href="#v:obs_addr_list" class="selflink">#</a></p><div class="doc"><p>This parser is identical to <code><a href="Text-Parsec-Rfc2822.html#v:obs_mbox_list">obs_mbox_list</a></code> but parses a list of
<code><a href="Text-Parsec-Rfc2822.html#v:address">address</a></code>es rather than <code><a href="Text-Parsec-Rfc2822.html#v:mailbox">mailbox</a></code>es. The main difference is that an
<code><a href="Text-Parsec-Rfc2822.html#v:address">address</a></code> may contain <code><a href="Text-Parsec-Rfc2822.html#v:group">group</a></code>s. Please note that as of now, the
parser will return a simple list of addresses; the grouping
information is lost.</p></div></div><h1 id="g:25">Obsolete header fields (section 4.5)</h1><div class="top"><p class="src"><a id="v:obs_fields" class="def">obs_fields</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:Field">Field</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_fields" class="link">Source</a> <a href="#v:obs_fields" class="selflink">#</a></p></div><h2 id="g:26">Obsolete origination date field (section 4.5.1)</h2><div class="top"><p class="src"><a id="v:obs_orig_date" class="def">obs_orig_date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a> <a href="src/Text-Parsec-Rfc2822.html#obs_orig_date" class="link">Source</a> <a href="#v:obs_orig_date" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:date">date</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><h2 id="g:27">Obsolete originator fields (section 4.5.2)</h2><div class="top"><p class="src"><a id="v:obs_from" class="def">obs_from</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_from" class="link">Source</a> <a href="#v:obs_from" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:from">from</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_sender" class="def">obs_sender</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> <a href="src/Text-Parsec-Rfc2822.html#obs_sender" class="link">Source</a> <a href="#v:obs_sender" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:sender">sender</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_reply_to" class="def">obs_reply_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_reply_to" class="link">Source</a> <a href="#v:obs_reply_to" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:reply_to">reply_to</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><h2 id="g:28">Obsolete destination address fields (section 4.5.3)</h2><div class="top"><p class="src"><a id="v:obs_to" class="def">obs_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_to" class="link">Source</a> <a href="#v:obs_to" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:to">to</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_cc" class="def">obs_cc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_cc" class="link">Source</a> <a href="#v:obs_cc" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:cc">cc</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_bcc" class="def">obs_bcc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_bcc" class="link">Source</a> <a href="#v:obs_bcc" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:bcc">bcc</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><h2 id="g:29">Obsolete identification fields (section 4.5.4)</h2><div class="top"><p class="src"><a id="v:obs_message_id" class="def">obs_message_id</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_message_id" class="link">Source</a> <a href="#v:obs_message_id" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:message_id">message_id</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_in_reply_to" class="def">obs_in_reply_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_in_reply_to" class="link">Source</a> <a href="#v:obs_in_reply_to" class="selflink">#</a></p><div class="doc"><p>Parse an <code><a href="Text-Parsec-Rfc2822.html#v:in_reply_to">in_reply_to</a></code> header line but allow for the obsolete
folding and the obsolete phrase syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_references" class="def">obs_references</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_references" class="link">Source</a> <a href="#v:obs_references" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:references">references</a></code> header line but allow for the obsolete
folding and the obsolete phrase syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_id_left" class="def">obs_id_left</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_id_left" class="link">Source</a> <a href="#v:obs_id_left" class="selflink">#</a></p><div class="doc"><p>Parses the "left part" of a message ID, but allows the obsolete
syntax, which is identical to a <code><a href="Text-Parsec-Rfc2822.html#v:local_part">local_part</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:obs_id_right" class="def">obs_id_right</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_id_right" class="link">Source</a> <a href="#v:obs_id_right" class="selflink">#</a></p><div class="doc"><p>Parses the "right part" of a message ID, but allows the obsolete
syntax, which is identical to a <code><a href="Text-Parsec-Rfc2822.html#v:domain">domain</a></code>.</p></div></div><h2 id="g:30">Obsolete informational fields (section 4.5.5)</h2><div class="top"><p class="src"><a id="v:obs_subject" class="def">obs_subject</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_subject" class="link">Source</a> <a href="#v:obs_subject" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:subject">subject</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_comments" class="def">obs_comments</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_comments" class="link">Source</a> <a href="#v:obs_comments" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:comments">comments</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_keywords" class="def">obs_keywords</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_keywords" class="link">Source</a> <a href="#v:obs_keywords" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:keywords">keywords</a></code> header line but allow for the obsolete
folding syntax. Also, this parser accepts <code><a href="Text-Parsec-Rfc2822.html#v:obs_phrase_list">obs_phrase_list</a></code>.</p></div></div><h2 id="g:31">Obsolete resent fields (section 4.5.6)</h2><div class="top"><p class="src"><a id="v:obs_resent_from" class="def">obs_resent_from</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_resent_from" class="link">Source</a> <a href="#v:obs_resent_from" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:resent_from">resent_from</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_resent_send" class="def">obs_resent_send</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a> <a href="src/Text-Parsec-Rfc2822.html#obs_resent_send" class="link">Source</a> <a href="#v:obs_resent_send" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:resent_sender">resent_sender</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_resent_date" class="def">obs_resent_date</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/libghc-old-time-doc/html/System-Time.html#t:CalendarTime">CalendarTime</a> <a href="src/Text-Parsec-Rfc2822.html#obs_resent_date" class="link">Source</a> <a href="#v:obs_resent_date" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:resent_date">resent_date</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_resent_to" class="def">obs_resent_to</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_resent_to" class="link">Source</a> <a href="#v:obs_resent_to" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:resent_to">resent_to</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_resent_cc" class="def">obs_resent_cc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_resent_cc" class="link">Source</a> <a href="#v:obs_resent_cc" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:resent_cc">resent_cc</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_resent_bcc" class="def">obs_resent_bcc</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_resent_bcc" class="link">Source</a> <a href="#v:obs_resent_bcc" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:resent_bcc">resent_bcc</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_resent_mid" class="def">obs_resent_mid</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_resent_mid" class="link">Source</a> <a href="#v:obs_resent_mid" class="selflink">#</a></p><div class="doc"><p>Parse a <code><a href="Text-Parsec-Rfc2822.html#v:resent_msg_id">resent_msg_id</a></code> header line but allow for the obsolete
folding syntax.</p></div></div><div class="top"><p class="src"><a id="v:obs_resent_reply" class="def">obs_resent_reply</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [<a href="Text-Parsec-Rfc2822.html#t:NameAddr">NameAddr</a>] <a href="src/Text-Parsec-Rfc2822.html#obs_resent_reply" class="link">Source</a> <a href="#v:obs_resent_reply" class="selflink">#</a></p><div class="doc"><p>Parse a <code>Resent-Reply-To</code> header line but allow for the
obsolete folding syntax.</p></div></div><h2 id="g:32">Obsolete trace fields (section 4.5.7)</h2><div class="top"><p class="src"><a id="v:obs_return" class="def">obs_return</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_return" class="link">Source</a> <a href="#v:obs_return" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:obs_received" class="def">obs_received</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>)] <a href="src/Text-Parsec-Rfc2822.html#obs_received" class="link">Source</a> <a href="#v:obs_received" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:obs_path" class="def">obs_path</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Text-Parsec-Rfc2822.html#obs_path" class="link">Source</a> <a href="#v:obs_path" class="selflink">#</a></p><div class="doc"><p>Match <code><a href="Text-Parsec-Rfc2822.html#v:obs_angle_addr">obs_angle_addr</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:obs_optional" class="def">obs_optional</a> :: <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:Stream">Stream</a> s m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Char.html#t:Char">Char</a> => <a href="file:///usr/share/doc/libghc-parsec3-doc/html/Text-Parsec.html#t:ParsecT">ParsecT</a> s u m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a>) <a href="src/Text-Parsec-Rfc2822.html#obs_optional" class="link">Source</a> <a href="#v:obs_optional" class="selflink">#</a></p><div class="doc"><p>This parser is identical to <code><a href="Text-Parsec-Rfc2822.html#v:optional_field">optional_field</a></code> but allows the more
liberal line-folding syntax between the "field_name" and the "field
text".</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|