diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-24 10:49:04 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-24 10:49:04 -0700 |
commit | a080dde1efb823e6e25e6ba0ead2afeb76012e43 (patch) | |
tree | 6165e39a24544d1387a201790541147e0f7478ab /tests/haddock-reader.haddock | |
parent | a9ae23fa15d769ab9b05f483c8511e96cc684403 (diff) | |
parent | de5ee82ed0e287ada3a5b272d8365a04fe8e9f95 (diff) |
Merge tag 'upstream/2.1.2_dfsg'
Upstream version 2.1.2~dfsg
# gpg: Signature made Tue 24 Apr 2018 10:48:48 AM MST
# gpg: using RSA key 9B917007AE030E36E4FC248B695B7AE4BF066240
# gpg: issuer "spwhitton@spwhitton.name"
# gpg: Good signature from "Sean Whitton <spwhitton@spwhitton.name>" [ultimate]
# Primary key fingerprint: 8DC2 487E 51AB DD90 B5C4 753F 0F56 D055 3B6D 411B
# Subkey fingerprint: 9B91 7007 AE03 0E36 E4FC 248B 695B 7AE4 BF06 6240
Diffstat (limited to 'tests/haddock-reader.haddock')
-rw-r--r-- | tests/haddock-reader.haddock | 65 |
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 λ, λ and λ 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!> |