From 2448bd71609688be7b8bfe362a8534959531cd79 Mon Sep 17 00:00:00 2001
From: Simon Hengel
Doc for test2 -
Doc for test2Should show up on the page for both modules A and B -
Should show up on the page for both modules A and BDoc for consructor -
Doc for consructorShould show up on the page for both modules A and B -
Should show up on the page for both modules A and BShould show up on the page for both modules A and B -
Should show up on the page for both modules A and BShould show up on the page for both modules A and B -
Should show up on the page for both modules A and BDoc for consructor -
Doc for consructor/multi-line - emphasis/ -
don't use apostrophe's in the wrong place's -
don't use apostrophe's in the wrong place'sExporting records. -
Exporting records.This record is exported without its field -
This record is exported without its field.. with its field, but the field is named separately in the export list - (the field isn't documented separately since it is already documented here) -
.. with fields names as subordinate names in the export -
.. with fields names as subordinate names in the export.. with only some of the fields exported (we can't handle this one - - how do we render the declaration?) -
a newtype with a field -
a newtype with a fieldThis module caused a duplicate instance in the documentation for the Foo - type. -
The Foo datatype -
The Foo datatypeJust one instance -
Just one instanceThe Bar class -
The Bar classJust one instance -
Just one instancesome documentation for one, two and three -
some documentation for one, two and threesome documentation for one, two and three -
some documentation for one, two and threesome documentation for one, two and three -
some documentation for one, two and threesome class -
some classdocumentation for foo -
documentation for fooDeprecated: Footype Foo -
type Fooconstructor Foo -
constructor Fooconstructor Bar -
constructor Barsome documentation for foo -
some documentation for foosome documentation for bar -
some documentation for barDocumentation for DeprecatedModule. -
.some documentation -
some documentationconstructor docu -
constructor docu DescriptionWhat is tested here: -
What is tested here:some documentation for foo -
some documentation for footype Foo -
type Foosome name -
some namesome value -
some valuesome documentation -
some documentationsome documentation -
some documentationExamples: -
Examples:>>>
55
One more Example: -
One more Example:>>>
5
One more Example: -
One more Example:>>>
5
Example with an import: -
Example with an import:>>>
First argument -
First argument-> a Second argument -
Second argumentThird argument -
Third argument-> (a -> a) Fourth argument -
Fourth argument-> () :: aResult -
ResultFirst argument -
First argument-> b Second argument -
Second argument-> c Third argument -
Third argument-> d Result -
Resulth1 -
h1hello docs -
hello docs:: ahello2 docs -
hello2 docsImplementation of fixed-size hash tables, with a type - class for constructing hash values for structured types. -
Eq. -.key val)
Builds a new hash table with a given size -
Builds a new hash table with a given size()Inserts a new element into the hash table -
Inserts a new element into the hash tableNothing otherwise. - otherwise.
A class of types which can be hashed. -
A class of types which can be hashed.Should be visible -
Should be visibleShould be visible -
Should be visibleShould be visible -
Should be visibleShould be visible -
Should be visibleShould be visible -
Should be visibleShould be visible -
Should be visibleShould be visible -
Should be visibleShould be visible -
Should be visibleShould be visible -
Should be visibleShould be visible -
Should be visibleA plain URL: http://example.com/ -
A URL with a label: some link -
documentation for foo -
documentation for foodocumentation for bar -
documentation for barDocumentation for ModuleWithWarning. -
.bar -
barfib n <= fib (n + 1)Description
What is tested here: -
What is tested here:OPTIONS_HADDOCK prune
is used.
diff --git a/html-test/ref/SpuriousSuperclassConstraints.html b/html-test/ref/SpuriousSuperclassConstraints.html
index 9b9d8087..566eafd6 100644
--- a/html-test/ref/SpuriousSuperclassConstraints.html
+++ b/html-test/ref/SpuriousSuperclassConstraints.html
@@ -46,32 +46,25 @@ window.onload = function () {pageLoad();setSynopsis("mini_SpuriousSuperclassCons
>DescriptionWhat is tested here: -
What is tested here:Due to a change in GHC 7.6.1 we had a bug that superclass contraints were - included in the instances list. Edward K. repported it here: -
http://www.haskell.org/pipermail/haskell-cafe/2012-September/103600.html -
And here is the corresponding theard on glasgow-haskell-users: -
And here is the corresponding theard on glasgow-haskell-users:http://www.haskell.org/pipermail/glasgow-haskell-users/2012-September/022914.html -
It has been fixed in: -
It has been fixed in:6ccf78e15a525282fef61bc4f58a279aa9c21771 - Fix spurious superclass constraints bug. -
An abstract data declaration -
An abstract data declarationA data declaration with no documentation annotations on the constructors -
A data declaration with no documentation annotations on the constructorsTesting alternative comment styles -
Testing alternative comment stylesA newtype -
A newtypeA newtype with a fieldname -
A newtype with a fieldnameA newtype with a fieldname, documentation on the field -
A newtype with a fieldname, documentation on the fieldAn abstract newtype - we show this one as data rather than newtype because - the difference isn't visible to the programmer for an abstract type. -
no docs on the datatype or the constructor -
no docs on the datatype or the constructordocs on the constructor only -
docs on the constructor onlydocs on the newtype and the constructor -
docs on the newtype and the constructorTesting different record commenting styles -
Testing different record commenting stylestest that we can export record selectors on their own: -
test that we can export record selectors on their own:b method -
methodThis is a class declaration with no separate docs for the methods -
This is a class declaration with no separate docs for the methodsThis is a class declaration with no methods (or no methods exported) -
This is a class declaration with no methods (or no methods exported)Test that we can export a class method on its own: -
Test that we can export a class method on its own:
- This is a block of code, which can include other markup: This is a block of code, which can include other markup: R
this is another block of code
-
this is another block of code
We can also include URLs in documentation: http://www.haskell.org/. -
.we can export foreign declarations too -
we can export foreign declarations tooThis is some documentation that is attached to a name ($aux1) rather than a source declaration. The documentation may be - referred to in the export list using its name. -
code block in named doc
This is some documentation that is attached to a name ($aux2) -
This is some documentation that is attached to a name ($aux2)a nested, named doc comment -
a nested, named doc commentwith a paragraph, -
with a paragraph,and a code block
test -test1 -
test2 test3 @@ -1781,70 +1731,57 @@ test1 >
-test1 + >test1 test2
test3 -test4 -
-test1 + >test1 test2
test3 -test4 -
test3 -test4 -
-test1 + >test1 test2
aux11: -
aux11:test3 -test4 -
-test1 + >test1 test2
foo -foo
bar -bar
This is some inline documentation in the export list -
This is some inline documentation in the export lista code block using bird-tracks each line must begin with > (which isn't significant unless it - is at the beginning of the line). -
nested-style doc comments -
nested-style doc commentsA data-type using existential/universal types -
A data-type using existential/universal typesThis argument has type 'T2 Int Int' -
This argument has type 'T2 Int Int'This argument has type T3 Bool Bool -> T4 Float Float
-
This argument has a very long description that should hopefully cause some wrapping to happen when it is finally - rendered by Haddock in the generated HTML page. -
This is the result type -
This is the result typeThis is a function with documentation for each argument -
This is a function with documentation for each argumenttakes a triple -
takes a tripleone of the arguments -
one of the argumentsand the return value -
and the return valueThis function has some arg docs -
This function has some arg docsThe input float -
The input floatThe output float -
The output floatA foreign import with argument docs -
A foreign import with argument docsa literal line -a literal line
$ a non literal line $ -
line $f' - but f' doesn't get link'd 'f\'' -
Comment on a definition with type signature -
Comment on a definition with type signatureComment on a definition without type signature -
Comment on a definition without type signatureAlso see Baz
-
Comment -
CommentA comment about f -
A comment about fType family G -
Type family GA class with an associated type -
A class with an associated typeAn associated type -
An associated typeA method -
A methodDoc for family -
Doc for familyγλώσσα -
γλώσσα