fix truth table variable order

This commit is contained in:
hi 2025-08-18 09:37:30 +00:00
parent 550e589bc8
commit eb965050f3

View file

@ -38,7 +38,7 @@ enumerate keys = map reverse $ aux start
Nothing -> []
Just (assignments') -> aux assignments'
start = map (, False) keys
start = map (, False) $ reverse keys
next [] = Nothing
next ((key, False):rest) = Just $ (key, True):rest