aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/fixtures/examples/table5.parsed
blob: f9a387bb0c5b3d698b79ea538d73054d85dd5cc7 (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
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 ".\n")),
                            tableCellRowspan = 1}],
                      TableRow
                        [TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocEmpty,
                            tableCellRowspan = 1},
                         TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocEmpty,
                            tableCellRowspan = 1},
                         TableCell
                           {tableCellColspan = 1,
                            tableCellContents = DocEmpty,
                            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}]]}