
20 Jun
2011
20 Jun
'11
3:26 p.m.
On 6/20/11, David McBride
I think you have it backwards. <-> is above and > is beside.
No, I think > is above: (http://hackage.haskell.org/packages/archive/xhtml/3000.2.0.1/doc/html/src/Te...)
triTable a1 a2 b = table << a1 `above` a2 `beside` b
seems to work for me, but you can add parenthesis around the a's to make it more clear.
For some reason, it's not working for me. The input: triTable (toHtml $ "1") (toHtml $ "2") (toHtml $ "3") results in: "<table ><tr >13</tr ><tr >2</tr ></table >" even when I just set it up as a "let" in GHCi. Thanks, Tom