Академический Документы
Профессиональный Документы
Культура Документы
Eli S. Mostrales
Boolean Functions
boolean functions
Eli S. Mostrales
Boolean Functions
boolean functions
Eli S. Mostrales
Boolean Functions
boolean functions
boolean functions
the function (==>) p q is simply able to return the value of A((P Q)) for all the four possible assignments A
Eli S. Mostrales
Boolean Functions
boolean functions
Eli S. Mostrales
Boolean Functions
boolean functions
Eli S. Mostrales
Boolean Functions
boolean functions
if we set bf as an argument to a function that does validity check we have: valid2 :: (Boolean -> Boolean -> Boolean) -> Boolean valid2 bf = (bf Oo Oo) /\ (bf Oo No) /\ (bf No Oo) /\ (bf No No)
Eli S. Mostrales Boolean Functions
boolean functions
if we set bf as an argument to a function that does validity check we have: valid2 :: (Boolean -> Boolean -> Boolean) -> Boolean valid2 bf = (bf Oo Oo) /\ (bf Oo No) /\ (bf No Oo) /\ (bf No No)
Eli S. Mostrales Boolean Functions
boolean functions
if we set bf as an argument to a function that does validity check we have: valid2 :: (Boolean -> Boolean -> Boolean) -> Boolean valid2 bf = (bf Oo Oo) /\ (bf Oo No) /\ (bf No Oo) /\ (bf No No)
Eli S. Mostrales Boolean Functions