Package: ghc6-doc
Version: 6.10.4-1
Severity: normal
Source code pages - that are referenced from haddock documentation
pages - are not syntax-highlighted.
src/*.html pages use class names with `hs-' prefix, while the classes
defined in hscolour.css do not have this prefix.
For example, there is no `.hs-comment' class defined in hscolour.css:
$ cd /usr/share/doc/ghc6-doc/libraries/bytestring/src/
$ cat hscolour.css
.keyglyph, .layout {color: red;}
.keyword {color: blue;}
.comment, .comment a {color: green;}
.str, .chr {color: teal;}
$
$ grep -o "class='[^']\+'" Data-ByteString.html | sort -u
class='hs-chr'
class='hs-comment'
class='hs-conid'
class='hs-conop'
class='hs-cpp'
class='hs-definition'
class='hs-keyglyph'
class='hs-keyword'
class='hs-layout'
class='hs-num'
class='hs-sel'
class='hs-str'
class='hs-varid'
class='hs-varop'
--
vvv
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ghc6-doc depends on:
ii haddock 2.4.2-3 Documentation tool for annotated H
ghc6-doc recommends no packages.
Versions of packages ghc6-doc suggests:
ii haskell-doc 20061127 Assorted Haskell language document
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]