aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/fixtures/examples/list-blocks1.parsed
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-library/fixtures/examples/list-blocks1.parsed')
-rw-r--r--haddock-library/fixtures/examples/list-blocks1.parsed12
1 files changed, 12 insertions, 0 deletions
diff --git a/haddock-library/fixtures/examples/list-blocks1.parsed b/haddock-library/fixtures/examples/list-blocks1.parsed
new file mode 100644
index 00000000..9fc4f0ba
--- /dev/null
+++ b/haddock-library/fixtures/examples/list-blocks1.parsed
@@ -0,0 +1,12 @@
+DocUnorderedList
+ [DocAppend
+ (DocParagraph (DocString "Something about foo"))
+ (DocCodeBlock
+ (DocString
+ (concat ["foo :: a -> b -> c\n", "foo a b = bar c b\n"]))),
+ DocAppend
+ (DocParagraph (DocString "Something about bar"))
+ (DocCodeBlock
+ (DocString
+ (concat ["bar :: a -> b -> c\n", "bar a b = foo b a\n"]))),
+ DocParagraph (DocString "And then we continue")]