File: bugs.html

package info (click to toggle)
hat 2.02-12
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,296 kB
  • ctags: 668
  • sloc: haskell: 64,394; ansic: 6,112; sh: 888; makefile: 451
file content (121 lines) | stat: -rw-r--r-- 3,974 bytes parent folder | download
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Hat 2.00 Bugs and Limitations</title></head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000">

<center>
  <img src="hat.gif" alt="Hat Logo"><br>
  <h1>Hat 2.02 Bugs and Limitations</h1>
</center>
<hr>

<p>
This is a list of all known bugs and limitations in Hat 2.02.
There is also a <a href="todo.html">wish-list</a> of features
that we would like to add to Hat.
Please mail
  <a href="mailto:hat@haskell.org">hat@haskell.org</a>
to report any other problems you find.

<h3>hat-trans problems:</h3>
<p>
<ul>
<li><em>hat-trans</em> output fails to compile if the source program
    depends on defaults to resolve numeric types.
    </li>
<li><em>hat-trans</em> output can fail at link time if the arity
   of source definitions or applications is large.
    </li>
<li>Data constructions used in a trusted context are hidden if they are
    evaluated there before the result is demanded in an untrusted
    context.
    </li>
<li><em>hat-trans</em> generates type-incorrect code for FFI declarations
    (foreign imports).
</ul>

<h3>Run-time problems:</h3>
<p>
<ul>
<li>Programs that exhaust memory fail with an incomplete trace file.</li>
</ul>

<h3>Problems with viewing a trace</h3>

<h4>General</h4>
<ul>
<li>List comprehensions, <em>do</em> statements, and arithmetic ranges
    are not traced at source level: they are recorded and displayed
    in de-sugared form.
    </li>
<li>Super-saturated applications are not shown.
    </li>
<li>Traces involving pattern bindings may be incomplete.
    </li>
<li><font color=red>Fixed in Hat 2.02</font>
    Named fields are not traced at source level.
    </li>
<li><font color=red>Fixed in Hat 2.02</font>
    The viewing tools display some lists misleadingly: when the tail
    of a sugared list is cut off or undefined it is shown as if it
    was a final element.
    </li>
</ul>

<h4>Hat-observe</h4>
<ul>
<li><em>hat-observe</em> inappropriately lists trusted CAFs under :info and
    allows observations of CAF values that should be hidden.
    </li>
<li><em>hat-observe</em> may incorrectly show applications as distinct when
    arguments include a cyclic structure.  (Example program: Cycles)
    </li>
<li>^C in a <em>hat-observe</em> window (to cut short a search) can shut
    down a <em>hat-trail</em> window spawned from the same
    <em>hat-observe</em> session.
    </li>
<li><font color=red>Fixed in Hat 2.02</font>
    After <em>:set recursive off</em> hat-observe shows the non-recursive
    calls of f even if given the application pattern <em>f in f</em>.
    (Example program: ObsRec)
    </li>
<li><font color=red>Fixed in Hat 2.02</font>
    <em>hat-observe</em> :info counts may not match the number of observations
    if there are partial or super-saturated applications.  (Example program:
    MixArity)
    </li>
</ul>

<h4>Hat-trail</h4>
<ul>
<li>If the output is empty, it cannot be selected.
    </li>
<li>The display can become corrupted if output or error message
    from the traced program is wider than the display window.
    </li>
<li><font color=red>Fixed in Hat 2.02</font>
    Scrolling sometimes blanks the upper part of the display when
    the trace is extended and is deeper than the window.  (Example
    program: BigExp)
    </li>
<li><font color=red>Fixed in Hat 2.02</font>
    The display can become corrupted if a single trail expression or
    equation is large enough to scroll off the screen.  (Example
    program: BigExp)
    </li>
</ul>

<h4>Hat-detect</h4>
<ul>
<li><em>hat-detect</em> is not currently included with the Hat browsing tools.
    </li>
<li>Only useable for computations that produce faulty output, not for
    computations that abort with an error message or are interrupted.
    </li>
<li>Does not work correctly for programs that read input.
    </li>
</ul>

<hr>
<p>
This page last modified: 13th March 2003<br>
</body></html>