aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/fixtures/examples/table5.parsed
blob: 9a547ad3903d4c92efb1679ed60fad35e424f794 (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
53
DocTable
  Table
    {tableBodyRows = [TableRow
                        [TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocString
                                                  (concat
                                                     [" row 2        \n",
                                                      "              \n",
                                                      "              \n",
                                                      " row 3        "]),
                            tableCellRowspan = 2},
                         TableCell
                           {tableCellColspan = 3,
                            tableCellContents = DocAppend
                                                  (DocString " Use the command  ")
                                                  (DocAppend
                                                     (DocMonospaced (DocString "ls | more"))
                                                     (DocString
                                                        (concat
                                                           [".    \n",
                                                            "                                  "]))),
                            tableCellRowspan = 1}],
                      TableRow
                        [TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocString "          ",
                            tableCellRowspan = 1},
                         TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocString "           ",
                            tableCellRowspan = 1},
                         TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocString "           ",
                            tableCellRowspan = 1}]],
     tableHeaderRows = [TableRow
                          [TableCell
                             {tableCellColspan = 1,
                              tableCellContents = DocString " row 1, col 1 ",
                              tableCellRowspan = 1},
                           TableCell
                             {tableCellColspan = 1,
                              tableCellContents = DocString " column 2 ",
                              tableCellRowspan = 1},
                           TableCell
                             {tableCellColspan = 1,
                              tableCellContents = DocString " column 3  ",
                              tableCellRowspan = 1},
                           TableCell
                             {tableCellColspan = 1,
                              tableCellContents = DocString " column 4  ",
                              tableCellRowspan = 1}]]}