| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|---|
| 2 | <!--Rendered using the Haskell Html Library v0.2--> |
|---|
| 3 | <HTML |
|---|
| 4 | ><HEAD |
|---|
| 5 | ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" |
|---|
| 6 | ><TITLE |
|---|
| 7 | >Test.HUnit.Terminal</TITLE |
|---|
| 8 | > |
|---|
| 9 | <style type="text/css"> |
|---|
| 10 | /* -------- Global things --------- */ |
|---|
| 11 | |
|---|
| 12 | BODY { |
|---|
| 13 | background-color: #ffffff; |
|---|
| 14 | color: #000000; |
|---|
| 15 | font-family: sans-serif; |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | A:link { color: #0000e0; text-decoration: none } |
|---|
| 19 | A:visited { color: #0000a0; text-decoration: none } |
|---|
| 20 | A:hover { background-color: #e0e0ff; text-decoration: none } |
|---|
| 21 | |
|---|
| 22 | TABLE.vanilla { |
|---|
| 23 | width: 100%; |
|---|
| 24 | border-width: 0px; |
|---|
| 25 | /* I can't seem to specify cellspacing or cellpadding properly using CSS... */ |
|---|
| 26 | } |
|---|
| 27 | |
|---|
| 28 | TABLE.vanilla2 { |
|---|
| 29 | border-width: 0px; |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | /* <TT> font is a little too small in MSIE */ |
|---|
| 33 | TT { font-size: 100%; } |
|---|
| 34 | PRE { font-size: 100%; } |
|---|
| 35 | |
|---|
| 36 | LI P { margin: 0pt } |
|---|
| 37 | |
|---|
| 38 | TD { |
|---|
| 39 | border-width: 0px; |
|---|
| 40 | } |
|---|
| 41 | |
|---|
| 42 | TABLE.narrow { |
|---|
| 43 | border-width: 0px; |
|---|
| 44 | } |
|---|
| 45 | |
|---|
| 46 | TD.s8 { height: 8px; } |
|---|
| 47 | TD.s15 { height: 15px; } |
|---|
| 48 | |
|---|
| 49 | SPAN.keyword { text-decoration: underline; } |
|---|
| 50 | |
|---|
| 51 | /* Resize the buttom image to match the text size */ |
|---|
| 52 | IMG.coll { width : 0.75em; height: 0.75em; margin-bottom: 0; margin-right: 0.5em } |
|---|
| 53 | |
|---|
| 54 | /* --------- Contents page ---------- */ |
|---|
| 55 | |
|---|
| 56 | DIV.node { |
|---|
| 57 | padding-left: 3em; |
|---|
| 58 | } |
|---|
| 59 | |
|---|
| 60 | DIV.cnode { |
|---|
| 61 | padding-left: 1.75em; |
|---|
| 62 | } |
|---|
| 63 | |
|---|
| 64 | SPAN.pkg { |
|---|
| 65 | position: absolute; |
|---|
| 66 | left: 50em; |
|---|
| 67 | } |
|---|
| 68 | |
|---|
| 69 | /* --------- Documentation elements ---------- */ |
|---|
| 70 | |
|---|
| 71 | TD.children { |
|---|
| 72 | padding-left: 25px; |
|---|
| 73 | } |
|---|
| 74 | |
|---|
| 75 | TD.synopsis { |
|---|
| 76 | padding: 2px; |
|---|
| 77 | background-color: #f0f0f0; |
|---|
| 78 | font-family: monospace |
|---|
| 79 | } |
|---|
| 80 | |
|---|
| 81 | TD.decl { |
|---|
| 82 | padding: 2px; |
|---|
| 83 | background-color: #f0f0f0; |
|---|
| 84 | font-family: monospace; |
|---|
| 85 | vertical-align: top; |
|---|
| 86 | } |
|---|
| 87 | |
|---|
| 88 | TD.topdecl { |
|---|
| 89 | padding: 2px; |
|---|
| 90 | background-color: #f0f0f0; |
|---|
| 91 | font-family: monospace; |
|---|
| 92 | vertical-align: top; |
|---|
| 93 | } |
|---|
| 94 | |
|---|
| 95 | TABLE.declbar { |
|---|
| 96 | border-spacing: 0px; |
|---|
| 97 | } |
|---|
| 98 | |
|---|
| 99 | TD.declname { |
|---|
| 100 | width: 100%; |
|---|
| 101 | } |
|---|
| 102 | |
|---|
| 103 | TD.declbut { |
|---|
| 104 | padding-left: 5px; |
|---|
| 105 | padding-right: 5px; |
|---|
| 106 | border-left-width: 1px; |
|---|
| 107 | border-left-color: #000099; |
|---|
| 108 | border-left-style: solid; |
|---|
| 109 | white-space: nowrap; |
|---|
| 110 | font-size: small; |
|---|
| 111 | } |
|---|
| 112 | |
|---|
| 113 | /* |
|---|
| 114 | arg is just like decl, except that wrapping is not allowed. It is |
|---|
| 115 | used for function and constructor arguments which have a text box |
|---|
| 116 | to the right, where if wrapping is allowed the text box squashes up |
|---|
| 117 | the declaration by wrapping it. |
|---|
| 118 | */ |
|---|
| 119 | TD.arg { |
|---|
| 120 | padding: 2px; |
|---|
| 121 | background-color: #f0f0f0; |
|---|
| 122 | font-family: monospace; |
|---|
| 123 | vertical-align: top; |
|---|
| 124 | white-space: nowrap; |
|---|
| 125 | } |
|---|
| 126 | |
|---|
| 127 | TD.recfield { padding-left: 20px } |
|---|
| 128 | |
|---|
| 129 | TD.doc { |
|---|
| 130 | padding-top: 2px; |
|---|
| 131 | padding-left: 10px; |
|---|
| 132 | } |
|---|
| 133 | |
|---|
| 134 | TD.ndoc { |
|---|
| 135 | padding: 2px; |
|---|
| 136 | } |
|---|
| 137 | |
|---|
| 138 | TD.rdoc { |
|---|
| 139 | padding: 2px; |
|---|
| 140 | padding-left: 10px; |
|---|
| 141 | width: 100%; |
|---|
| 142 | } |
|---|
| 143 | |
|---|
| 144 | TD.body { |
|---|
| 145 | padding-left: 10px |
|---|
| 146 | } |
|---|
| 147 | |
|---|
| 148 | TD.pkg { |
|---|
| 149 | width: 100%; |
|---|
| 150 | padding-left: 10px |
|---|
| 151 | } |
|---|
| 152 | |
|---|
| 153 | TD.indexentry { |
|---|
| 154 | vertical-align: top; |
|---|
| 155 | padding-right: 10px |
|---|
| 156 | } |
|---|
| 157 | |
|---|
| 158 | TD.indexannot { |
|---|
| 159 | vertical-align: top; |
|---|
| 160 | padding-left: 20px; |
|---|
| 161 | white-space: nowrap |
|---|
| 162 | } |
|---|
| 163 | |
|---|
| 164 | TD.indexlinks { |
|---|
| 165 | width: 100% |
|---|
| 166 | } |
|---|
| 167 | |
|---|
| 168 | /* ------- Section Headings ------- */ |
|---|
| 169 | |
|---|
| 170 | TD.section1 { |
|---|
| 171 | padding-top: 15px; |
|---|
| 172 | font-weight: bold; |
|---|
| 173 | font-size: 150% |
|---|
| 174 | } |
|---|
| 175 | |
|---|
| 176 | TD.section2 { |
|---|
| 177 | padding-top: 10px; |
|---|
| 178 | font-weight: bold; |
|---|
| 179 | font-size: 130% |
|---|
| 180 | } |
|---|
| 181 | |
|---|
| 182 | TD.section3 { |
|---|
| 183 | padding-top: 5px; |
|---|
| 184 | font-weight: bold; |
|---|
| 185 | font-size: 110% |
|---|
| 186 | } |
|---|
| 187 | |
|---|
| 188 | TD.section4 { |
|---|
| 189 | font-weight: bold; |
|---|
| 190 | font-size: 100% |
|---|
| 191 | } |
|---|
| 192 | |
|---|
| 193 | /* -------------- The title bar at the top of the page */ |
|---|
| 194 | |
|---|
| 195 | TD.infohead { |
|---|
| 196 | color: #ffffff; |
|---|
| 197 | font-weight: bold; |
|---|
| 198 | padding-right: 10px; |
|---|
| 199 | text-align: left; |
|---|
| 200 | } |
|---|
| 201 | |
|---|
| 202 | TD.infoval { |
|---|
| 203 | color: #ffffff; |
|---|
| 204 | padding-right: 10px; |
|---|
| 205 | text-align: left; |
|---|
| 206 | } |
|---|
| 207 | |
|---|
| 208 | TD.topbar { |
|---|
| 209 | background-color: #000099; |
|---|
| 210 | padding: 5px; |
|---|
| 211 | } |
|---|
| 212 | |
|---|
| 213 | TD.title { |
|---|
| 214 | color: #ffffff; |
|---|
| 215 | padding-left: 10px; |
|---|
| 216 | width: 100% |
|---|
| 217 | } |
|---|
| 218 | |
|---|
| 219 | TD.topbut { |
|---|
| 220 | padding-left: 5px; |
|---|
| 221 | padding-right: 5px; |
|---|
| 222 | border-left-width: 1px; |
|---|
| 223 | border-left-color: #ffffff; |
|---|
| 224 | border-left-style: solid; |
|---|
| 225 | white-space: nowrap; |
|---|
| 226 | } |
|---|
| 227 | |
|---|
| 228 | TD.topbut A:link { |
|---|
| 229 | color: #ffffff |
|---|
| 230 | } |
|---|
| 231 | |
|---|
| 232 | TD.topbut A:visited { |
|---|
| 233 | color: #ffff00 |
|---|
| 234 | } |
|---|
| 235 | |
|---|
| 236 | TD.topbut A:hover { |
|---|
| 237 | background-color: #6060ff; |
|---|
| 238 | } |
|---|
| 239 | |
|---|
| 240 | TD.topbut:hover { |
|---|
| 241 | background-color: #6060ff |
|---|
| 242 | } |
|---|
| 243 | |
|---|
| 244 | TD.modulebar { |
|---|
| 245 | background-color: #0077dd; |
|---|
| 246 | padding: 5px; |
|---|
| 247 | border-top-width: 1px; |
|---|
| 248 | border-top-color: #ffffff; |
|---|
| 249 | border-top-style: solid; |
|---|
| 250 | } |
|---|
| 251 | |
|---|
| 252 | /* --------- The page footer --------- */ |
|---|
| 253 | |
|---|
| 254 | TD.botbar { |
|---|
| 255 | background-color: #000099; |
|---|
| 256 | color: #ffffff; |
|---|
| 257 | padding: 5px |
|---|
| 258 | } |
|---|
| 259 | TD.botbar A:link { |
|---|
| 260 | color: #ffffff; |
|---|
| 261 | text-decoration: underline |
|---|
| 262 | } |
|---|
| 263 | TD.botbar A:visited { |
|---|
| 264 | color: #ffff00 |
|---|
| 265 | } |
|---|
| 266 | TD.botbar A:hover { |
|---|
| 267 | background-color: #6060ff |
|---|
| 268 | } |
|---|
| 269 | </style> |
|---|
| 270 | <SCRIPT TYPE="text/javascript"> |
|---|
| 271 | //<!-- |
|---|
| 272 | // Haddock JavaScript utilities |
|---|
| 273 | function toggle(button,id) |
|---|
| 274 | { |
|---|
| 275 | var n = document.getElementById(id).style; |
|---|
| 276 | if (n.display == "none") |
|---|
| 277 | { |
|---|
| 278 | button.src = "minus.gif"; |
|---|
| 279 | n.display = "block"; |
|---|
| 280 | } |
|---|
| 281 | else |
|---|
| 282 | { |
|---|
| 283 | button.src = "plus.gif"; |
|---|
| 284 | n.display = "none"; |
|---|
| 285 | } |
|---|
| 286 | } |
|---|
| 287 | //--> |
|---|
| 288 | </SCRIPT> |
|---|
| 289 | |
|---|
| 290 | </HEAD |
|---|
| 291 | ><BODY |
|---|
| 292 | ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" |
|---|
| 293 | ><TR |
|---|
| 294 | ><TD CLASS="topbar" |
|---|
| 295 | ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" |
|---|
| 296 | ><TR |
|---|
| 297 | ><TD |
|---|
| 298 | ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " |
|---|
| 299 | ></TD |
|---|
| 300 | ><TD CLASS="title" |
|---|
| 301 | ></TD |
|---|
| 302 | ><TD CLASS="topbut" |
|---|
| 303 | ><A HREF="index.html" |
|---|
| 304 | >Contents</A |
|---|
| 305 | ></TD |
|---|
| 306 | ><TD CLASS="topbut" |
|---|
| 307 | ><A HREF="doc-index.html" |
|---|
| 308 | >Index</A |
|---|
| 309 | ></TD |
|---|
| 310 | ></TR |
|---|
| 311 | ></TABLE |
|---|
| 312 | ></TD |
|---|
| 313 | ></TR |
|---|
| 314 | ><TR |
|---|
| 315 | ><TD CLASS="modulebar" |
|---|
| 316 | ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" |
|---|
| 317 | ><TR |
|---|
| 318 | ><TD |
|---|
| 319 | ><FONT SIZE="6" |
|---|
| 320 | >Test.HUnit.Terminal</FONT |
|---|
| 321 | ></TD |
|---|
| 322 | ></TR |
|---|
| 323 | ></TABLE |
|---|
| 324 | ></TD |
|---|
| 325 | ></TR |
|---|
| 326 | ><TR |
|---|
| 327 | ><TD CLASS="s15" |
|---|
| 328 | ></TD |
|---|
| 329 | ></TR |
|---|
| 330 | ><TR |
|---|
| 331 | ><TD CLASS="s15" |
|---|
| 332 | ></TD |
|---|
| 333 | ></TR |
|---|
| 334 | ><TR |
|---|
| 335 | ><TD CLASS="section1" |
|---|
| 336 | >Synopsis</TD |
|---|
| 337 | ></TR |
|---|
| 338 | ><TR |
|---|
| 339 | ><TD CLASS="s15" |
|---|
| 340 | ></TD |
|---|
| 341 | ></TR |
|---|
| 342 | ><TR |
|---|
| 343 | ><TD CLASS="body" |
|---|
| 344 | ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" |
|---|
| 345 | ><TR |
|---|
| 346 | ><TD CLASS="decl" |
|---|
| 347 | ><A HREF="#v%3AterminalAppearance" |
|---|
| 348 | >terminalAppearance</A |
|---|
| 349 | > :: String -> String</TD |
|---|
| 350 | ></TR |
|---|
| 351 | ></TABLE |
|---|
| 352 | ></TD |
|---|
| 353 | ></TR |
|---|
| 354 | ><TR |
|---|
| 355 | ><TD CLASS="s15" |
|---|
| 356 | ></TD |
|---|
| 357 | ></TR |
|---|
| 358 | ><TR |
|---|
| 359 | ><TD CLASS="section1" |
|---|
| 360 | >Documentation</TD |
|---|
| 361 | ></TR |
|---|
| 362 | ><TR |
|---|
| 363 | ><TD CLASS="s15" |
|---|
| 364 | ></TD |
|---|
| 365 | ></TR |
|---|
| 366 | ><TR |
|---|
| 367 | ><TD CLASS="decl" |
|---|
| 368 | ><A NAME="v%3AterminalAppearance" |
|---|
| 369 | ></A |
|---|
| 370 | ><B |
|---|
| 371 | >terminalAppearance</B |
|---|
| 372 | > :: String -> String</TD |
|---|
| 373 | ></TR |
|---|
| 374 | ><TR |
|---|
| 375 | ><TD CLASS="doc" |
|---|
| 376 | >simplifies the input string by interpreting 'r' and 'b' characters |
|---|
| 377 | specially so that the result string has the same final (or "terminal", |
|---|
| 378 | pun intended) appearance as would the input string when written to a |
|---|
| 379 | terminal that overwrites character positions following carriage |
|---|
| 380 | returns and backspaces. |
|---|
| 381 | </TD |
|---|
| 382 | ></TR |
|---|
| 383 | ><TR |
|---|
| 384 | ><TD CLASS="s15" |
|---|
| 385 | ></TD |
|---|
| 386 | ></TR |
|---|
| 387 | ><TR |
|---|
| 388 | ><TD CLASS="botbar" |
|---|
| 389 | >Produced by <A HREF="http://www.haskell.org/haddock/" |
|---|
| 390 | >Haddock</A |
|---|
| 391 | > version 0.8</TD |
|---|
| 392 | ></TR |
|---|
| 393 | ></TABLE |
|---|
| 394 | ></BODY |
|---|
| 395 | ></HTML |
|---|
| 396 | > |
|---|