{-# LANGUAGE NoImplicitPrelude #-}
module Codec.QRCode.Data.Mask
( Mask(..)
) where
import Codec.QRCode.Base
data Mask
= Mask0
| Mask1
| Mask2
| Mask3
| Mask4
| Mask5
| Mask6
| Mask7
deriving (Mask
Mask -> Mask -> Bounded Mask
forall a. a -> a -> Bounded a
maxBound :: Mask
$cmaxBound :: Mask
minBound :: Mask
$cminBound :: Mask
Bounded, Int -> Mask
Mask -> Int
Mask -> [Mask]
Mask -> Mask
Mask -> Mask -> [Mask]
Mask -> Mask -> Mask -> [Mask]
(Mask -> Mask)
-> (Mask -> Mask)
-> (Int -> Mask)
-> (Mask -> Int)
-> (Mask -> [Mask])
-> (Mask -> Mask -> [Mask])
-> (Mask -> Mask -> [Mask])
-> (Mask -> Mask -> Mask -> [Mask])
-> Enum Mask
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
enumFromThenTo :: Mask -> Mask -> Mask -> [Mask]
$cenumFromThenTo :: Mask -> Mask -> Mask -> [Mask]
enumFromTo :: Mask -> Mask -> [Mask]
$cenumFromTo :: Mask -> Mask -> [Mask]
enumFromThen :: Mask -> Mask -> [Mask]
$cenumFromThen :: Mask -> Mask -> [Mask]
enumFrom :: Mask -> [Mask]
$cenumFrom :: Mask -> [Mask]
fromEnum :: Mask -> Int
$cfromEnum :: Mask -> Int
toEnum :: Int -> Mask
$ctoEnum :: Int -> Mask
pred :: Mask -> Mask
$cpred :: Mask -> Mask
succ :: Mask -> Mask
$csucc :: Mask -> Mask
Enum, Mask -> Mask -> Bool
(Mask -> Mask -> Bool) -> (Mask -> Mask -> Bool) -> Eq Mask
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Mask -> Mask -> Bool
$c/= :: Mask -> Mask -> Bool
== :: Mask -> Mask -> Bool
$c== :: Mask -> Mask -> Bool
Eq)