diff options
Diffstat (limited to 'hypsrc-test/ref')
-rw-r--r-- | hypsrc-test/ref/src/Bug1091.html | 2 | ||||
-rw-r--r-- | hypsrc-test/ref/src/CPP.html | 17 | ||||
-rw-r--r-- | hypsrc-test/ref/src/ClangCppBug.html | 306 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Classes.html | 61 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Constructors.html | 114 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Identifiers.html | 52 | ||||
-rw-r--r-- | hypsrc-test/ref/src/LinkingIdentifiers.html | 86 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Literals.html | 37 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Operators.html | 37 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Polymorphism.html | 24 | ||||
-rw-r--r-- | hypsrc-test/ref/src/PositionPragmas.html | 2 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Quasiquoter.html | 18 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Records.html | 59 | ||||
-rw-r--r-- | hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html | 2 | ||||
-rw-r--r-- | hypsrc-test/ref/src/TemplateHaskellSplices.html | 3 | ||||
-rw-r--r-- | hypsrc-test/ref/src/Types.html | 42 | ||||
-rw-r--r-- | hypsrc-test/ref/src/UsingQuasiquotes.html | 2 |
17 files changed, 387 insertions, 477 deletions
diff --git a/hypsrc-test/ref/src/Bug1091.html b/hypsrc-test/ref/src/Bug1091.html index 730b6e25..a9c7d163 100644 --- a/hypsrc-test/ref/src/Bug1091.html +++ b/hypsrc-test/ref/src/Bug1091.html @@ -31,4 +31,4 @@ ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/CPP.html b/hypsrc-test/ref/src/CPP.html index 2ebcae90..719be7f8 100644 --- a/hypsrc-test/ref/src/CPP.html +++ b/hypsrc-test/ref/src/CPP.html @@ -78,7 +78,10 @@ ><span > </span ><span class="annot" - ><span class="hs-string" + ><span class="annottext" + >String +</span + ><span class="hs-string" >"foo"</span ></span ><span class="hs-cpp" @@ -130,7 +133,10 @@ ><span > </span ><span class="annot" - ><span class="hs-string" + ><span class="annottext" + >String +</span + ><span class="hs-string" >"block comment in a string is not a comment {- "</span ></span ><span class="hs-cpp" @@ -213,7 +219,10 @@ ><span > </span ><span class="annot" - ><span class="hs-string" + ><span class="annottext" + >String +</span + ><span class="hs-string" >"line comment in a string is not a comment --"</span ></span ><span @@ -224,4 +233,4 @@ ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/ClangCppBug.html b/hypsrc-test/ref/src/ClangCppBug.html deleted file mode 100644 index d03c92e1..00000000 --- a/hypsrc-test/ref/src/ClangCppBug.html +++ /dev/null @@ -1,306 +0,0 @@ -<html xmlns="http://www.w3.org/1999/xhtml" -><head - ><link rel="stylesheet" type="text/css" href="style.css" - /><script type="text/javascript" src="highlight.js" - ></script - ></head - ><body - ><pre - ><span class="hs-pragma" - >{-# LANGUAGE CPP #-}</span - ><span - > -</span - ><span id="" - ></span - ><span class="hs-keyword" - >module</span - ><span - > </span - ><span class="hs-identifier" - >ClangCppBug</span - ><span - > </span - ><span class="hs-keyword" - >where</span - ><span - > -</span - ><span id="" - ></span - ><span - > -</span - ><span id="" - ></span - ><span class="annot" - ><a href="ClangCppBug.html#foo" - ><span class="hs-identifier hs-type" - >foo</span - ></a - ></span - ><span - > </span - ><span class="hs-glyph" - >::</span - ><span - > </span - ><span class="annot" - ><span class="hs-identifier hs-type" - >Int</span - ></span - ><span - > -</span - ><span id="" - ></span - ><span id="foo" - ><span class="annot" - ><span class="annottext" - >foo :: Int -</span - ><a href="ClangCppBug.html#foo" - ><span class="hs-identifier hs-var hs-var" - >foo</span - ></a - ></span - ></span - ><span - > </span - ><span class="hs-glyph" - >=</span - ><span - > </span - ><span class="annot" - ><span class="hs-number" - >1</span - ></span - ><span - > -</span - ><span id="" - ></span - ><span - > -</span - ><span id="" - ></span - ><span class="hs-comment" - >-- Clang doesn't mind these:</span - ><span class="hs-cpp" - > -#define BAX 2 -</span - ><span class="hs-pragma" - >{-# INLINE</span - ><span - > </span - ><span class="annot" - ><a href="ClangCppBug.html#bar" - ><span class="hs-pragma hs-type" - >bar</span - ></a - ></span - ><span - > </span - ><span class="hs-pragma" - >#-}</span - ><span - > -</span - ><span id="" - ></span - ><span - > -</span - ><span id="" - ></span - ><span class="annot" - ><a href="ClangCppBug.html#bar" - ><span class="hs-identifier hs-type" - >bar</span - ></a - ></span - ><span - > </span - ><span class="hs-glyph" - >::</span - ><span - > </span - ><span class="annot" - ><span class="hs-identifier hs-type" - >Int</span - ></span - ><span - > -</span - ><span id="" - ></span - ><span id="bar" - ><span class="annot" - ><span class="annottext" - >bar :: Int -</span - ><a href="ClangCppBug.html#bar" - ><span class="hs-identifier hs-var hs-var" - >bar</span - ></a - ></span - ></span - ><span - > </span - ><span class="hs-glyph" - >=</span - ><span - > </span - ><span class="annot" - ><span class="hs-number" - >3</span - ></span - ><span - > -</span - ><span id="" - ></span - ><span - > -</span - ><span id="" - ></span - ><span class="hs-comment" - >-- But it doesn't like this:</span - ><span - > -</span - ><span id="" - ></span - ><span class="hs-pragma" - >{-# RULES</span - ><span - > -</span - ><span id="" - ></span - ><span class="annot" - ><span class="hs-pragma" - >"bar/qux"</span - ></span - ><span - > </span - ><span class="annot" - ><a href="ClangCppBug.html#bar" - ><span class="hs-pragma hs-type" - >bar</span - ></a - ></span - ><span - > </span - ><span class="hs-pragma" - >=</span - ><span - > </span - ><span class="annot" - ><a href="ClangCppBug.html#qux" - ><span class="hs-pragma hs-type" - >qux</span - ></a - ></span - ><span - > -</span - ><span id="" - ></span - ><span class="annot" - ><span class="hs-pragma" - >"qux/foo"</span - ></span - ><span - > </span - ><span class="annot" - ><a href="ClangCppBug.html#qux" - ><span class="hs-pragma hs-type" - >qux</span - ></a - ></span - ><span - > </span - ><span class="hs-pragma" - >=</span - ><span - > </span - ><span class="annot" - ><a href="ClangCppBug.html#foo" - ><span class="hs-pragma hs-type" - >foo</span - ></a - ></span - ><span - > -</span - ><span id="" - ></span - ><span - > </span - ><span class="hs-pragma" - >#-}</span - ><span - > -</span - ><span id="" - ></span - ><span - > -</span - ><span id="" - ></span - ><span class="annot" - ><a href="ClangCppBug.html#qux" - ><span class="hs-identifier hs-type" - >qux</span - ></a - ></span - ><span - > </span - ><span class="hs-glyph" - >::</span - ><span - > </span - ><span class="annot" - ><span class="hs-identifier hs-type" - >Int</span - ></span - ><span - > -</span - ><span id="" - ></span - ><span id="qux" - ><span class="annot" - ><span class="annottext" - >qux :: Int -</span - ><a href="ClangCppBug.html#qux" - ><span class="hs-identifier hs-var hs-var" - >qux</span - ></a - ></span - ></span - ><span - > </span - ><span class="hs-glyph" - >=</span - ><span - > </span - ><span class="annot" - ><span class="hs-number" - >88</span - ></span - ><span - > -</span - ><span id="" - ></span - ></pre - ></body - ></html ->
\ No newline at end of file diff --git a/hypsrc-test/ref/src/Classes.html b/hypsrc-test/ref/src/Classes.html index 443d7f96..48218a32 100644 --- a/hypsrc-test/ref/src/Classes.html +++ b/hypsrc-test/ref/src/Classes.html @@ -230,7 +230,7 @@ forall a. a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -359,8 +359,13 @@ forall (t :: * -> *) a. Foldable t => t a -> Int ></span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >Int +</span + ><span class="hs-identifier" + >_</span + ></span ><span > </span ><span class="hs-glyph" @@ -519,7 +524,7 @@ forall (t :: * -> *) a. Foldable t => t a -> Int ><span id="" ><span class="annot" ><span class="annottext" - >x :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -534,7 +539,7 @@ forall (t :: * -> *) a. Foldable t => t a -> Int ><span id="" ><span class="annot" ><span class="annottext" - >y :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1125,7 +1130,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >a :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1137,8 +1142,13 @@ forall a. [a] -> [a] -> [a] >)</span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >Either b b +</span + ><span class="hs-identifier" + >_</span + ></span ><span > </span ><span class="hs-glyph" @@ -1211,7 +1221,7 @@ forall a b. a -> b -> a ><span id="" ><span class="annot" ><span class="annottext" - >a :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1223,8 +1233,13 @@ forall a b. a -> b -> a >)</span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >Either b b +</span + ><span class="hs-identifier" + >_</span + ></span ><span > </span ><span class="hs-glyph" @@ -1286,8 +1301,13 @@ forall a b. a -> b -> a ></span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >Either a a +</span + ><span class="hs-identifier" + >_</span + ></span ><span > </span ><span class="hs-special" @@ -1301,7 +1321,7 @@ forall a b. a -> b -> a ><span id="" ><span class="annot" ><span class="annottext" - >b :: b + >b </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1372,8 +1392,13 @@ forall a b. a -> b -> a ></span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >Either a a +</span + ><span class="hs-identifier" + >_</span + ></span ><span > </span ><span class="hs-special" @@ -1387,7 +1412,7 @@ forall a b. a -> b -> a ><span id="" ><span class="annot" ><span class="annottext" - >b :: b + >b </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1451,4 +1476,4 @@ forall a b. a -> b -> a ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/Constructors.html b/hypsrc-test/ref/src/Constructors.html index 970ec741..2cc234ac 100644 --- a/hypsrc-test/ref/src/Constructors.html +++ b/hypsrc-test/ref/src/Constructors.html @@ -346,7 +346,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -411,8 +414,11 @@ ><span > </span ><span class="annot" - ><a href="Constructors.html#Bar" - ><span class="hs-identifier hs-type" + ><span class="annottext" + >Foo +</span + ><a href="Constructors.html#Bar" + ><span class="hs-identifier hs-var" >Bar</span ></a ></span @@ -423,7 +429,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -440,8 +449,11 @@ ><span > </span ><span class="annot" - ><a href="Constructors.html#Baz" - ><span class="hs-identifier hs-type" + ><span class="annottext" + >Foo +</span + ><a href="Constructors.html#Baz" + ><span class="hs-identifier hs-var" >Baz</span ></a ></span @@ -452,7 +464,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -481,7 +496,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >foo :: Foo + >Foo </span ><a href="#" ><span class="hs-identifier hs-var" @@ -494,7 +509,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >n :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -511,7 +526,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >42</span ></span ><span @@ -647,8 +665,11 @@ forall a. Num a => a -> a -> a ><span class="hs-special" >(</span ><span class="annot" - ><a href="Constructors.html#Bar" - ><span class="hs-identifier hs-type" + ><span class="annottext" + >Foo +</span + ><a href="Constructors.html#Bar" + ><span class="hs-identifier hs-var" >Bar</span ></a ></span @@ -659,7 +680,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >xs :: [Foo] + >[Foo] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -672,8 +693,11 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><a href="Constructors.html#Bar" - ><span class="hs-identifier hs-type" + ><span class="annottext" + >Foo +</span + ><a href="Constructors.html#Bar" + ><span class="hs-identifier hs-var" >Bar</span ></a ></span @@ -722,8 +746,11 @@ forall a. Num a => a -> a -> a ><span class="hs-special" >(</span ><span class="annot" - ><a href="Constructors.html#Baz" - ><span class="hs-identifier hs-type" + ><span class="annottext" + >Foo +</span + ><a href="Constructors.html#Baz" + ><span class="hs-identifier hs-var" >Baz</span ></a ></span @@ -734,7 +761,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >xs :: [Foo] + >[Foo] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -747,8 +774,11 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><a href="Constructors.html#Baz" - ><span class="hs-identifier hs-type" + ><span class="annottext" + >Foo +</span + ><a href="Constructors.html#Baz" + ><span class="hs-identifier hs-var" >Baz</span ></a ></span @@ -794,8 +824,13 @@ forall a. [a] -> [a] ></span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >Norf +</span + ><span class="hs-identifier" + >_</span + ></span ><span > </span ><span class="hs-glyph" @@ -919,14 +954,19 @@ forall a. HasCallStack => a ></span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >Foo +</span + ><span class="hs-identifier" + >_</span + ></span ><span > </span ><span id="" ><span class="annot" ><span class="annottext" - >n :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -940,8 +980,13 @@ forall a. HasCallStack => a >,</span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >[Foo] +</span + ><span class="hs-identifier" + >_</span + ></span ><span class="hs-special" >,</span ><span @@ -972,7 +1017,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >f3 :: Foo + >Foo </span ><a href="#" ><span class="hs-identifier hs-var" @@ -982,8 +1027,13 @@ forall a. HasCallStack => a ></span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >Int +</span + ><span class="hs-identifier" + >_</span + ></span ><span class="hs-special" >)</span ><span class="hs-special" @@ -1127,7 +1177,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >fx :: Foo + >Foo </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1338,4 +1388,4 @@ forall a b. (a -> b) -> a -> b ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/Identifiers.html b/hypsrc-test/ref/src/Identifiers.html index 5268031d..e0f88772 100644 --- a/hypsrc-test/ref/src/Identifiers.html +++ b/hypsrc-test/ref/src/Identifiers.html @@ -108,7 +108,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -121,7 +121,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >y :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -271,7 +271,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -284,7 +284,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >y :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -434,7 +434,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -447,7 +447,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >y :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -611,7 +611,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -785,7 +785,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -798,7 +798,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >y :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -811,7 +811,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >z :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -852,7 +852,10 @@ forall a. Ord a => a -> a -> Bool ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -914,7 +917,10 @@ forall a. Ord a => a -> a -> Bool ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -976,7 +982,10 @@ forall a. Ord a => a -> a -> Bool ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -1415,7 +1424,10 @@ forall a b. (a -> b) -> a -> b ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >10</span ></span ><span @@ -1443,7 +1455,10 @@ forall a b. (a -> b) -> a -> b ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >20</span ></span ><span @@ -1471,7 +1486,10 @@ forall a b. (a -> b) -> a -> b ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >30</span ></span ><span @@ -1482,4 +1500,4 @@ forall a b. (a -> b) -> a -> b ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/LinkingIdentifiers.html b/hypsrc-test/ref/src/LinkingIdentifiers.html index 52b20200..c923b6da 100644 --- a/hypsrc-test/ref/src/LinkingIdentifiers.html +++ b/hypsrc-test/ref/src/LinkingIdentifiers.html @@ -105,7 +105,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -128,8 +128,13 @@ ></span ><span > </span - ><span class="hs-number" - >2</span + ><span class="annot" + ><span class="annottext" + >Int +</span + ><span class="hs-number" + >2</span + ></span ><span > </span ><span class="hs-glyph" @@ -161,7 +166,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >2</span ></span ><span class="hs-special" @@ -203,7 +211,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >2</span ></span ><span class="hs-special" @@ -224,7 +235,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -234,8 +245,13 @@ forall a. Num a => a -> a -> a ></span ><span > </span - ><span class="hs-number" - >2</span + ><span class="annot" + ><span class="annottext" + >Int +</span + ><span class="hs-number" + >2</span + ></span ><span > </span ><span class="hs-glyph" @@ -265,7 +281,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >2</span ></span ><span @@ -303,7 +322,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >2</span ></span ><span @@ -360,7 +382,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -383,8 +405,13 @@ forall a. Num a => a -> a -> a ></span ><span > </span - ><span class="hs-number" - >2</span + ><span class="annot" + ><span class="annottext" + >Int +</span + ><span class="hs-number" + >2</span + ></span ><span > </span ><span class="hs-glyph" @@ -416,7 +443,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >2</span ></span ><span class="hs-special" @@ -458,7 +488,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >2</span ></span ><span class="hs-special" @@ -479,7 +512,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -489,8 +522,13 @@ forall a. Num a => a -> a -> a ></span ><span > </span - ><span class="hs-number" - >2</span + ><span class="annot" + ><span class="annottext" + >Int +</span + ><span class="hs-number" + >2</span + ></span ><span > </span ><span class="hs-glyph" @@ -520,7 +558,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >2</span ></span ><span @@ -558,7 +599,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >2</span ></span ><span @@ -569,4 +613,4 @@ forall a. Num a => a -> a -> a ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/Literals.html b/hypsrc-test/ref/src/Literals.html index f0d05fbc..0c7ddf9e 100644 --- a/hypsrc-test/ref/src/Literals.html +++ b/hypsrc-test/ref/src/Literals.html @@ -70,7 +70,10 @@ ><span > </span ><span class="annot" - ><span class="hs-string" + ><span class="annottext" + >String +</span + ><span class="hs-string" >"str literal"</span ></span ><span @@ -144,7 +147,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >a +</span + ><span class="hs-number" >0</span ></span ><span @@ -160,7 +166,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >a +</span + ><span class="hs-number" >1</span ></span ><span @@ -176,7 +185,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >a +</span + ><span class="hs-number" >1010011</span ></span ><span @@ -192,7 +204,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >a +</span + ><span class="hs-number" >41231</span ></span ><span @@ -208,7 +223,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >a +</span + ><span class="hs-number" >12131</span ></span ><span @@ -282,7 +300,10 @@ forall a. Num a => a -> a -> a ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >a +</span + ><span class="hs-number" >42.0000001</span ></span ><span @@ -529,4 +550,4 @@ forall a. Num a => a -> a -> a ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/Operators.html b/hypsrc-test/ref/src/Operators.html index 4d5693c2..289684a0 100644 --- a/hypsrc-test/ref/src/Operators.html +++ b/hypsrc-test/ref/src/Operators.html @@ -95,7 +95,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >a :: [a] + >[a] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -121,7 +121,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >b :: [a] + >[a] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -260,7 +260,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >a :: [a] + >[a] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -286,7 +286,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >b :: [a] + >[a] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -419,7 +419,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >a :: [a] + >[a] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -464,7 +464,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >a :: [a] + >[a] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -476,8 +476,13 @@ forall a. [a] -> [a] -> [a] > </span ><span class="hs-special" >(</span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >a +</span + ><span class="hs-identifier" + >_</span + ></span ><span class="annot" ><span class="hs-glyph hs-type" >:</span @@ -485,7 +490,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >b :: [a] + >[a] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -638,7 +643,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >a :: [[a]] + >[[a]] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -664,7 +669,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >b :: [a] + >[a] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -810,7 +815,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >a :: [[a]] + >[[a]] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -836,7 +841,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >b :: [[a]] + >[[a]] </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1047,7 +1052,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >a :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1073,7 +1078,7 @@ forall a. [a] -> [a] -> [a] ><span id="" ><span class="annot" ><span class="annottext" - >b :: b + >b </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1141,4 +1146,4 @@ forall a b. (a -> b) -> a -> b ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/Polymorphism.html b/hypsrc-test/ref/src/Polymorphism.html index ec9c49e8..9f8a1850 100644 --- a/hypsrc-test/ref/src/Polymorphism.html +++ b/hypsrc-test/ref/src/Polymorphism.html @@ -838,7 +838,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >x :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -851,7 +851,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >f :: forall a. a -> a + >forall a. a -> a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1007,7 +1007,7 @@ forall a. a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1020,7 +1020,7 @@ forall a. a -> a ><span id="" ><span class="annot" ><span class="annottext" - >f :: forall a. a -> a + >forall a. a -> a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1992,7 +1992,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >x :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -2005,7 +2005,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >f :: forall a. Ord a => a -> a + >forall a. Ord a => a -> a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -2167,7 +2167,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >x :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -2180,7 +2180,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >f :: forall a. Ord a => a -> a + >forall a. Ord a => a -> a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -2285,7 +2285,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >x :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -2449,7 +2449,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >f :: a -> b + >a -> b </span ><a href="#" ><span class="hs-identifier hs-var" @@ -2462,7 +2462,7 @@ forall a. HasCallStack => a ><span id="" ><span class="annot" ><span class="annottext" - >x :: a + >a </span ><a href="#" ><span class="hs-identifier hs-var" @@ -2646,4 +2646,4 @@ forall a. HasCallStack => a ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/PositionPragmas.html b/hypsrc-test/ref/src/PositionPragmas.html index ddd73f31..8ee123fa 100644 --- a/hypsrc-test/ref/src/PositionPragmas.html +++ b/hypsrc-test/ref/src/PositionPragmas.html @@ -169,4 +169,4 @@ ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/Quasiquoter.html b/hypsrc-test/ref/src/Quasiquoter.html index ab631e8c..f53219d7 100644 --- a/hypsrc-test/ref/src/Quasiquoter.html +++ b/hypsrc-test/ref/src/Quasiquoter.html @@ -126,7 +126,7 @@ -> (String -> Q [Dec]) -> QuasiQuoter </span - ><span class="hs-identifier hs-type hs-type" + ><span class="hs-identifier hs-type" >QuasiQuoter</span ></span ><span @@ -382,8 +382,13 @@ forall a. String -> Q a ></span ><span > </span - ><span class="hs-identifier" - >_</span + ><span class="annot" + ><span class="annottext" + >String +</span + ><span class="hs-identifier" + >_</span + ></span ><span > </span ><span class="hs-glyph" @@ -401,7 +406,10 @@ forall (m :: * -> *) a. MonadFail m => String -> m a ><span > </span ><span class="annot" - ><span class="hs-string" + ><span class="annottext" + >String +</span + ><span class="hs-string" >"stringQuoter: only valid in expression context"</span ></span ><span @@ -412,4 +420,4 @@ forall (m :: * -> *) a. MonadFail m => String -> m a ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/Records.html b/hypsrc-test/ref/src/Records.html index 5057b8a4..604ac6ca 100644 --- a/hypsrc-test/ref/src/Records.html +++ b/hypsrc-test/ref/src/Records.html @@ -232,7 +232,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -245,7 +245,7 @@ ><span id="" ><span class="annot" ><span class="annottext" - >y :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -261,10 +261,10 @@ > </span ><span class="annot" ><span class="annottext" - >$WPoint :: Int -> Int -> Point + >Point :: Int -> Int -> Point </span - ><a href="Records.html#%24WPoint" - ><span class="hs-identifier hs-type hs-type" + ><a href="Records.html#Point" + ><span class="hs-identifier hs-type" >Point</span ></a ></span @@ -815,7 +815,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >p :: Point + >Point </span ><a href="#" ><span class="hs-identifier hs-var" @@ -828,7 +828,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >d :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -938,7 +938,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >p :: Point + >Point </span ><a href="#" ><span class="hs-identifier hs-var" @@ -951,7 +951,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >d :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1121,7 +1121,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >x :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1134,7 +1134,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >y :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1147,7 +1147,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >p :: Point + >Point </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1207,7 +1207,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >dx :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1222,7 +1222,7 @@ forall a. Num a => a -> a -> a ><span id="" ><span class="annot" ><span class="annottext" - >dy :: Int + >Int </span ><a href="#" ><span class="hs-identifier hs-var" @@ -1284,22 +1284,33 @@ forall a. Num a => a -> a -> a ></span ><span > </span + ><span class="annot" + ><a href="Records.html#Point" + ><span class="hs-identifier hs-type" + >Point</span + ></a + ></span + ><span class="hs-special" + >{</span ><span id="" ><span id="" ><span class="annot" - ><a href="Records.html#Point" - ><span class="hs-identifier hs-type" - >Point</span + ><span class="annottext" + >Int +y :: Int +x :: Int +y :: Point -> Int +x :: Point -> Int +</span + ><a href="#" + ><span class="hs-glyph hs-var hs-var hs-var hs-var" + >..</span ></a ></span - ><span class="hs-special" - >{</span - ><span class="hs-glyph" - >..</span - ><span class="hs-special" - >}</span ></span ></span + ><span class="hs-special" + >}</span ><span > </span ><span class="hs-glyph" @@ -1427,4 +1438,4 @@ forall a. Num a => a -> a -> a ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html b/hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html index 6552b676..68c7b754 100644 --- a/hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html +++ b/hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html @@ -656,4 +656,4 @@ ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/TemplateHaskellSplices.html b/hypsrc-test/ref/src/TemplateHaskellSplices.html index 85288453..6586d299 100644 --- a/hypsrc-test/ref/src/TemplateHaskellSplices.html +++ b/hypsrc-test/ref/src/TemplateHaskellSplices.html @@ -110,6 +110,7 @@ forall a. a -> a ><span class="annot" ><span class="annottext" >Double +Integer Double -> Integer Integer -> Integer -> Integer forall a. Floating a => a @@ -132,4 +133,4 @@ pi :: forall a. Floating a => a ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/Types.html b/hypsrc-test/ref/src/Types.html index 22012ad1..e08382dd 100644 --- a/hypsrc-test/ref/src/Types.html +++ b/hypsrc-test/ref/src/Types.html @@ -713,7 +713,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -772,7 +775,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >1</span ></span ><span @@ -890,7 +896,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -949,7 +958,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >1</span ></span ><span @@ -1062,7 +1074,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -1111,7 +1126,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >1</span ></span ><span @@ -1219,7 +1237,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >0</span ></span ><span @@ -1268,7 +1289,10 @@ ><span > </span ><span class="annot" - ><span class="hs-number" + ><span class="annottext" + >Int +</span + ><span class="hs-number" >1</span ></span ><span @@ -1279,4 +1303,4 @@ ></pre ></body ></html ->
\ No newline at end of file +> diff --git a/hypsrc-test/ref/src/UsingQuasiquotes.html b/hypsrc-test/ref/src/UsingQuasiquotes.html index a5c791c4..ca48775d 100644 --- a/hypsrc-test/ref/src/UsingQuasiquotes.html +++ b/hypsrc-test/ref/src/UsingQuasiquotes.html @@ -101,4 +101,4 @@ forall a. [a] -> [a] -> [a] ></pre ></body ></html ->
\ No newline at end of file +> |