aboutsummaryrefslogtreecommitdiff
path: root/tests/haddock-reader.haddock
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-04 12:56:30 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-04 12:56:30 +0100
commit18ab8642692caca2716fd9b5a0e6dbfd3d9cf9cc (patch)
tree05f4e9024093e233c131b3494e71265062ffd94a /tests/haddock-reader.haddock
parent8418c1a7d7e5312dfddbc011adb257552b2a864b (diff)
downloadpandoc-18ab8642692caca2716fd9b5a0e6dbfd3d9cf9cc.tar.gz
Moved tests/ -> test/.
Diffstat (limited to 'tests/haddock-reader.haddock')
-rw-r--r--tests/haddock-reader.haddock65
1 files changed, 0 insertions, 65 deletions
diff --git a/tests/haddock-reader.haddock b/tests/haddock-reader.haddock
deleted file mode 100644
index c3ef0c9fc..000000000
--- a/tests/haddock-reader.haddock
+++ /dev/null
@@ -1,65 +0,0 @@
-This file tests the Pandoc reader for Haddock.
-We've borrowed examples from Haddock's documentation: <http://www.haskell.org/haddock/doc/html/ch03s08.html>.
-
-The following characters have special meanings in Haddock, \/, \', \`, \", \@, \<, so they must be escaped.
-
-\* This is a paragraph, not a list item.
-\> This sentence is not code.
-\>\>\> This is not an example.
-
-The references &#x3BB;, &#x3bb; and &#955; all represent the lower-case letter lambda.
-
-This is a code block:
-
-> map :: (a -> b) -> [a] -> [b]
-> map _ [] = []
-> map f (x:xs) = f x : map f xs
-
-This is another code block:
-
-@
-f x = x + x.
-The \@...\@ code block /interprets markup normally/.
-"Module.Foo"
-\"Hello World\"
-@
-
-Haddock supports REPL examples:
-
->>> fib 10
-55
->>> putStrLn "foo\nbar"
-foo
-bar
-
-That was /really cool/!
-I had no idea @fib 10 = 55@.
-
-This module defines the type 'T'.
-The identifier 'M.T' is not in scope
-I don't have to escape my apostrophes; great, isn't it?
-This is a reference to the "Foo" module.
-
-This is a bulleted list:
-
- * first item
-
- * second item
-
-This is an enumerated list:
-
- (1) first item
-
- 2. second item
-
-This is a definition list:
-
- [@foo@] The description of @foo@.
-
- [@bar@] The description of @bar@.
-
-Here is a link: <http://haskell.org>
-
-<http://haskell.org Haskell> is a fun language!
-
-<http://example.com Click Here!>