{-# LANGUAGE NoImplicitPrelude, UnicodeSyntax #-} {-| Module : Data.Bool.Unicode Copyright : 2009–2011 Roel van Dijk License : BSD3 (see the file LICENSE) Maintainer : Roel van Dijk <vandijk.roel@gmail.com> -} module Data.Bool.Unicode ( (∧), (∨), (¬) ) where ------------------------------------------------------------------------------- -- Imports ------------------------------------------------------------------------------- -- from base: import Data.Bool ( Bool, (&&), (||), not ) ------------------------------------------------------------------------------- -- Fixities ------------------------------------------------------------------------------- infixr 2 ∨ infixr 3 ∧ ------------------------------------------------------------------------------- -- Symbols ------------------------------------------------------------------------------- {-| (¬) = 'not' U+00AC, NOT SIGN -} (¬) ∷ Bool → Bool (¬) = not {-# INLINE (¬) #-} {-| (∧) = ('&&') U+2227, LOGICAL AND -} (∧) ∷ Bool → Bool → Bool (∧) = (&&) {-# INLINE (∧) #-} {-| (∨) = ('||') U+2228, LOGICAL OR -} (∨) ∷ Bool → Bool → Bool (∨) = (||) {-# INLINE (∨) #-}