RosettaCodeData/Task/Logical-operations/Agda/logical-operations.agda
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

7 lines
154 B
Agda
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module AndOrNot where
open import Data.Bool
open import Data.Product
test : Bool Bool Bool × Bool × Bool
test x y = x y , x y , not x