Table: add additional cautionary note to the docs about empty cells

This commit is contained in:
Jonathan Daugherty 2022-06-18 09:05:35 -07:00
parent 55c13f7ff4
commit 67c1b99989

View File

@ -107,7 +107,9 @@ data Table n =
-- 'TableException'.
--
-- All rows must have the same number of cells. If not, this will raise
-- a 'TableException'.
-- a 'TableException'. In addition, all rows and columns must provide at
-- least one non-empty cell respectively, or the final result may not
-- look as desired.
table :: [[Widget n]] -> Table n
table rows =
if not allFixed