oops: the last commit but properly

This commit is contained in:
hi 2025-07-31 12:32:46 +00:00
parent c6628aedd1
commit 8fa9f3698c

View file

@ -270,5 +270,5 @@ truthtable s = open <> header <> "\\hline\n" <> body <> close
bools assignments = [if bool then "1" else "0" | (key, bool) <- assignments]
parts assignments =
(\xs -> [[x] | x <- filter (\i -> i /= ' ') xs]) $
(\xs -> [if x /= ' ' then [' ', x, ' '] else " " | x <- xs]) $
fromJust $ serializeLatexTruthTableRow assignments s