aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/fixtures/examples/table-simple.parsed
blob: b5e624539a63c7f290c55f5e612c8ab8baee175e (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
DocTable
  Table
    {tableBodyRows = [TableRow
                        [TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocString " 200  ",
                            tableCellRowspan = 1},
                         TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocAppend
                                                  (DocString "   ")
                                                  (DocAppend
                                                     (DocMonospaced (DocString "OK"))
                                                     (DocString "       ")),
                            tableCellRowspan = 1},
                         TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocString
                                                  " operation successful                     ",
                            tableCellRowspan = 1}],
                      TableRow
                        [TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocString " 204  ",
                            tableCellRowspan = 1},
                         TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocAppend
                                                  (DocString " ")
                                                  (DocAppend
                                                     (DocMonospaced (DocString "No Content"))
                                                     (DocString " ")),
                            tableCellRowspan = 1},
                         TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocString
                                                  " operation successful, no body returned   ",
                            tableCellRowspan = 1}]],
     tableHeaderRows = [TableRow
                          [TableCell
                             {tableCellColspan = 1,
                              tableCellContents = DocString " code ",
                              tableCellRowspan = 1},
                           TableCell
                             {tableCellColspan = 1,
                              tableCellContents = DocString " message      ",
                              tableCellRowspan = 1},
                           TableCell
                             {tableCellColspan = 1,
                              tableCellContents = DocString
                                                    " description                              ",
                              tableCellRowspan = 1}]]}