<s>
Haddock	B-Language
is	O
a	O
free	B-Application
,	O
portable	O
command-line	B-Application
program	I-Application
documentation	B-Protocol
generator	I-Protocol
for	O
Haskell	B-Language
.	O
</s>
<s>
It	O
is	O
influenced	O
by	O
IDoc	B-Protocol
,	O
HDoc	O
,	O
and	O
Doxygen	B-Language
.	O
</s>
<s>
It	O
produces	O
hyperlinked	O
HTML	B-Language
files	I-Language
from	O
annotated	O
Haskell	B-Language
(	O
the	O
documentation	O
is	O
embedded	O
in	O
comments	O
)	O
source	O
files	O
,	O
with	O
additional	O
information	O
extracted	O
from	O
type	O
annotations	O
;	O
it	O
supports	O
only	O
partially	O
generating	O
documentation	O
in	O
SGML	B-Language
.	O
</s>
<s>
It	O
is	O
often	O
used	O
in	O
conjunction	O
with	O
darcs	B-Protocol
and	O
Cabal	B-Application
.	O
</s>
<s>
It	O
is	O
dependent	O
on	O
Glasgow	B-Application
Haskell	I-Application
Compiler	I-Application
(	O
GHC	O
)	O
,	O
using	O
a	O
modified	O
form	O
of	O
the	O
HsParser	O
(	O
written	O
in	O
Happy	B-Language
)	O
parser	B-Language
for	O
Haskell	B-Language
included	O
in	O
GHC	O
.	O
</s>
<s>
Its	O
lightweight	O
markup	O
is	O
based	O
on	O
IDoc	B-Protocol
's	O
.	O
</s>
<s>
Haddock	B-Language
is	O
contained	O
in	O
the	O
Haskell	B-Language
Platform	I-Language
.	O
</s>
<s>
It	O
is	O
used	O
by	O
the	O
GHC	O
,	O
Gtk2Hs	O
and	O
HTk	O
projects	O
,	O
as	O
well	O
as	O
XMonad	B-Device
.	O
</s>
<s>
Here	O
is	O
an	O
example	O
of	O
Haddock	B-Language
markup	O
:	O
</s>
