From 672ab6384a0dbec0f5a09ca7d5437f28aa21c5fe Mon Sep 17 00:00:00 2001 From: David Waern Date: Fri, 25 Nov 2011 02:13:38 +0100 Subject: Accept test output. --- tests/html-tests/tests/A.html.ref | 21 +- tests/html-tests/tests/B.html.ref | 24 +- tests/html-tests/tests/Bug1.html.ref | 30 +- tests/html-tests/tests/Bug2.html.ref | 24 +- tests/html-tests/tests/Bug3.html.ref | 30 +- tests/html-tests/tests/Bug4.html.ref | 30 +- tests/html-tests/tests/Bug6.html.ref | 102 ++- tests/html-tests/tests/Bug7.html.ref | 48 +- tests/html-tests/tests/Bug8.html.ref | 33 +- tests/html-tests/tests/Bugs.html.ref | 24 +- tests/html-tests/tests/CrossPackageDocs.html.ref | 191 ++++-- tests/html-tests/tests/Examples.html.ref | 39 +- tests/html-tests/tests/FunArgs.html.ref | 33 +- tests/html-tests/tests/GADTRecords.html.ref | 99 ++- tests/html-tests/tests/Hash.html.ref | 159 +++-- tests/html-tests/tests/NamedDoc.html.ref | 21 +- tests/html-tests/tests/NoLayout.html.ref | 33 +- tests/html-tests/tests/NonGreedy.html.ref | 30 +- tests/html-tests/tests/QuasiExpr.html.ref | 60 +- tests/html-tests/tests/QuasiQuote.html.ref | 24 +- tests/html-tests/tests/TH.html.ref | 21 +- tests/html-tests/tests/TH2.html.ref | 21 +- tests/html-tests/tests/Test.html.ref | 815 +++++++++++++++-------- tests/html-tests/tests/Ticket112.html.ref | 27 +- tests/html-tests/tests/Ticket61.html.ref | 21 +- tests/html-tests/tests/Ticket75.html.ref | 39 +- tests/html-tests/tests/TypeFamilies.html.ref | 54 +- tests/html-tests/tests/TypeOperators.html.ref | 60 +- tests/html-tests/tests/Visible.html.ref | 27 +- 29 files changed, 1487 insertions(+), 653 deletions(-) diff --git a/tests/html-tests/tests/A.html.ref b/tests/html-tests/tests/A.html.ref index eeeadc93..cb25ba99 100644 --- a/tests/html-tests/tests/A.html.ref +++ b/tests/html-tests/tests/A.html.ref @@ -17,10 +17,12 @@ window.onload = function () {pageLoad();setSynopsis("mini_A.html");}; >

Safe HaskellNone

A

Safe HaskellNone

B

Documentation

module Amodule A

Safe HaskellNone

Bug1

  • data T = T T = T
  • We should have different anchors for constructors and types/classes. This hyperlink should point to the type constructor by default: TT.

    Safe HaskellNone

    Bug2

    x :: A :: A

    Safe HaskellNone

    Bug3

    Synopsis

    foo :: Int :: Int

    Safe HaskellNone

    Bug4

    Synopsis

    foo :: Int :: Int

    Safe HaskellNone

    Bug6

  • data A = A Int A = A Int
  • data B = B B = B {}
  • data C = C C = C {}
  • data D = D Int Int D = D Int Int
  • newtype E = E Int E = E Int
  • A Int Int 
    b :: Int :: Int
     
    c1 :: Int :: Int
     
    c2 :: Int :: Int
     
    D Int Int Int Int E Int Int 

    Safe HaskellNone

    Bug7

  • data Foo = Foo Foo = Foo
  • class Bar Bar x y
  • Bar Foo FooBar Foo Foo

    Bar Foo FooBar Foo Foo

    Safe HaskellNone

    Bug8

    Type (String, [Typ (String, [Typ]) TFree (String, [String (String, [String]) 
    Safe HaskellNone

    Bugs

    A a (a -> Int a (a -> Int) 
    Safe HaskellNone

    CrossPackageDocs

    Synopsis

    mapmap f xs

    The MonadMonad class defines the basic operations over a monad

    Minimal complete definition: >>=>>= and returnreturn.

    Instances of MonadMonad should satisfy the following laws:

    Instances of both MonadMonad and FunctorFunctor should additionally satisfy the law:

    The instances of MonadMonad for lists, Data.Maybe.Maybe and System.IO.IO -defined in the PreludePrelude satisfy these laws.

    Prelude

    fail :: String :: String -> m a

    PreludePrelude
    MonadMonad [] 
    Monad IOMonad IO 
    MonadMonad Q 
    Monad MaybeMonad Maybe 
    MonadMonad PprM 
    Monad ((->) r) 
    Monad (EitherMonad (Either e) 
    Prelude

    Runs a raw command, and returns HandleHandles that may be used to communicate with the process via its Prelude

    The HandleHandles are initially in binary mode; if you need them to be in text mode then use hSetBinaryModehSetBinaryMode.

    Prelude

    :: FilePath:: FilePath

    Prelude

    -> [String-> [String]

    Prelude

    -> Maybe FilePath-> Maybe FilePath

    Prelude

    -> Maybe [(String, String-> Maybe [(String, String)]

    Prelude

    -> IO (Handle, Handle, Handle, ProcessHandle-> IO (Handle, Handle, Handle, ProcessHandle) 
    Safe HaskellNone

    Examples

    Synopsis

    fib :: Integer -> Integer :: Integer -> Integer

    Fibonacci number of given IntegerInteger.

    Safe HaskellNone

    FunArgs

    :: forall a . Ord a . Ord a => Int=> Int

    -> Bool-> Bool

    -> ()-> ()

    Safe HaskellNone

    GADTRecords

  • data H1 H1 a b where
  • C1 :: H1 :: H1 a b C2 :: Ord a => [a] -> H1 :: Ord a => [a] -> H1 a a C3 :: Int -> H1 Int Int :: Int -> H1 Int Int 
    field :: Int :: Int

    C4 :: a -> H1 Int :: a -> H1 Int

    Safe HaskellNone

    Hash

    Contents