blob: 325fd61d0a1e9c6b4a4ccf430a8fc5dcd27f6812 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{-# LANGUAGE StandaloneDeriving #-}
module Main where
import Bool
import qualified Prelude
import Prelude ((++), (==), ($))
deriving instance Prelude.Eq Bool
bools :: [Bool]
bools = [False, True]
main =
Prelude.print $ Prelude.and $
[ not (x `and` y) == not x `or` not y | x <- bools, y <- bools]
|