From f3e76a50eec28d17ddd0fe8e965c15c19c4ef3cf Mon Sep 17 00:00:00 2001 From: Alec Theriault Date: Fri, 20 Jul 2018 04:50:00 -0700 Subject: Misc tests (#858) * More tests * spliced types * constructor/pattern argument docs * strictness marks on fields with argument docs * latex test cases need seperate directory * Accept tests --- html-test/ref/Bug574.html | 86 ++++ html-test/ref/ConstructorArgs.html | 720 +++++++++++++++++++++++++++++++++ html-test/ref/GadtConstructorArgs.html | 192 +++++++++ 3 files changed, 998 insertions(+) create mode 100644 html-test/ref/Bug574.html create mode 100644 html-test/ref/ConstructorArgs.html create mode 100644 html-test/ref/GadtConstructorArgs.html (limited to 'html-test/ref') diff --git a/html-test/ref/Bug574.html b/html-test/ref/Bug574.html new file mode 100644 index 00000000..ed0a5e15 --- /dev/null +++ b/html-test/ref/Bug574.html @@ -0,0 +1,86 @@ +Bug574

Safe HaskellNone

Bug574

Synopsis

Documentation

foo :: Int -> Int -> Int #

Somthing with a spliced type

\ No newline at end of file diff --git a/html-test/ref/ConstructorArgs.html b/html-test/ref/ConstructorArgs.html new file mode 100644 index 00000000..9aad9c86 --- /dev/null +++ b/html-test/ref/ConstructorArgs.html @@ -0,0 +1,720 @@ +ConstructorArgs

Safe HaskellSafe

ConstructorArgs

Synopsis

Documentation

data Foo infixr 1 #

Constructors

Rec

doc on a record

Fields

Baz Int String

old prefix doc style

Boa infixr 2

doc on the Boa constrictor

Fields

Int :| String

old infix doc style

(:*) infixr 3

doc on the :* constructor

Fields

data Boo where infixr 4 #

Constructors

Foo infixr 1

Info about a Foo

Fields

Foa :: Int -> Boo

no argument docs GADT

Bundled Patterns

pattern Fo infixr 5

Info about bundled Fo

Fields

pattern Fo' :: Boo

Bundled and no argument docs

pattern Bo infixr 6 #

Arguments

:: Int

an Int

-> String

a String

-> Boo

a Boo pattern

Info about not-bundled Bo

pattern Bo' :: Int -> String -> Boo #

Not bunded and no argument docs

\ No newline at end of file diff --git a/html-test/ref/GadtConstructorArgs.html b/html-test/ref/GadtConstructorArgs.html new file mode 100644 index 00000000..7497de83 --- /dev/null +++ b/html-test/ref/GadtConstructorArgs.html @@ -0,0 +1,192 @@ +GadtConstructorArgs

Safe HaskellSafe

GadtConstructorArgs

Documentation

data Boo where #

Constructors

Fot

Fields

Fob

Record GADT with docs

Fields

\ No newline at end of file -- cgit v1.2.3