blob: c076c5b88e5dcf636a2d10c8bcf77caf32219db5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{-# LANGUAGE Haskell2010 #-}
-- | 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
module Bug313 where
{- |
Some text.
1. Item 1
2. Item 2
> Some code
3. Item 3
Some more text.
-}
a :: a
a = undefined
{- |
Some text.
1. Item 1
2. Item 2
> Some code
3. Item 3
-}
-- | Some more text.
b :: a
b = undefined
|