patch applied (hat): When pretty-printing string expressions, avoid the appearance of [...]

10 Oct
2006
10 Oct
'06
7:20 a.m.
Fri Jul 19 08:31:57 PDT 2002 malcolm * When pretty-printing string expressions, avoid the appearance of [...] due to cutoff depth, for instance in the following: ["one","tw...","t...",[...],...] The solution is to peek one character ahead of the cutoff depth in order to decide between string/list sugaring. The example above becomes: ["one","two","th..","f...",...] given the same cutoff depth. M ./src/hattools/SExp.hs -56 +66
6802
Age (days ago)
6802
Last active (days ago)
0 comments
1 participants
participants (1)
-
Malcolm Wallace