atable.fun 328 B

1234567891011121314151617181920212223
  1. #import std
  2. #import nat
  3. #import tbl
  4. headings = # a list of trees of lists of strings
  5. <
  6. <'name'>^: <>,
  7. <'foo'>^: <
  8. <'bar','baz'>^: <>,
  9. <'rank'>^: <>>>
  10. body = # list of lists of either strings or numbers
  11. <
  12. <'x','y','z'>,
  13. <1.,2.,3.>,
  14. <4.,5.,6.>>
  15. #output dot'tex' ~&
  16. atable = table3(headings, body)