From 08db4c81ffac672a4a5a90291be70279e9a1f098 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Mon, 28 Jul 2014 14:31:03 +0200 Subject: Fix #313 by doing some list munging. I get rid of the Monoid instance because we weren't satisfying the laws. Convenience of having <> didn't outweigh the shock-factor of having it behave badly. --- html-test/ref/Bug313.html | 132 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 html-test/ref/Bug313.html (limited to 'html-test/ref/Bug313.html') diff --git a/html-test/ref/Bug313.html b/html-test/ref/Bug313.html new file mode 100644 index 00000000..a3a03b0e --- /dev/null +++ b/html-test/ref/Bug313.html @@ -0,0 +1,132 @@ + +Bug313

 

Safe HaskellSafe-Inferred

Bug313

Description

The first list is incorrectly numbered as 1. 2. 1.; the second example + renders fine (1. 2. 3.).

See https://github.com/haskell/haddock/issues/313

Synopsis

  • a :: a
  • b :: a

Documentation

a :: a

Some text.

  1. Item 1
  2. Item 2

    Some code
  3. Item 3

Some more text.

b :: a

Some text.

  1. Item 1
  2. Item 2

    Some code
  3. Item 3

Some more text.

-- cgit v1.2.3