module System.Console.CmdArgs.Default where
import Data.Int
import Data.Word
class Default a where
def :: a
instance Default () where def :: ()
def = ()
instance Default Bool where def :: Bool
def = Bool
False
instance Default Int where def :: Int
def = Int
0
instance Default Integer where def :: Integer
def = Integer
0
instance Default Float where def :: Float
def = Float
0
instance Default Double where def :: Double
def = Double
0
instance Default [a] where def :: [a]
def = []
instance Default (Maybe a) where def :: Maybe a
def = forall a. Maybe a
Nothing
instance Default Int8 where def :: Int8
def = Int8
0
instance Default Int16 where def :: Int16
def = Int16
0
instance Default Int32 where def :: Int32
def = Int32
0
instance Default Int64 where def :: Int64
def = Int64
0
instance Default Word where def :: Word
def = Word
0
instance Default Word8 where def :: Word8
def = Word8
0
instance Default Word16 where def :: Word16
def = Word16
0
instance Default Word32 where def :: Word32
def = Word32
0
instance Default Word64 where def :: Word64
def = Word64
0
instance (Default a1,Default a2) => Default (a1,a2) where def :: (a1, a2)
def = (forall a. Default a => a
def,forall a. Default a => a
def)
instance (Default a1,Default a2,Default a3) => Default (a1,a2,a3) where def :: (a1, a2, a3)
def = (forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def)
instance (Default a1,Default a2,Default a3,Default a4) => Default (a1,a2,a3,a4) where def :: (a1, a2, a3, a4)
def = (forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def)
instance (Default a1,Default a2,Default a3,Default a4,Default a5) => Default (a1,a2,a3,a4,a5) where def :: (a1, a2, a3, a4, a5)
def = (forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def)
instance (Default a1,Default a2,Default a3,Default a4,Default a5,Default a6) => Default (a1,a2,a3,a4,a5,a6) where def :: (a1, a2, a3, a4, a5, a6)
def = (forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def)
instance (Default a1,Default a2,Default a3,Default a4,Default a5,Default a6,Default a7) => Default (a1,a2,a3,a4,a5,a6,a7) where def :: (a1, a2, a3, a4, a5, a6, a7)
def = (forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def)
instance (Default a1,Default a2,Default a3,Default a4,Default a5,Default a6,Default a7,Default a8) => Default (a1,a2,a3,a4,a5,a6,a7,a8) where def :: (a1, a2, a3, a4, a5, a6, a7, a8)
def = (forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def)
instance (Default a1,Default a2,Default a3,Default a4,Default a5,Default a6,Default a7,Default a8,Default a9) => Default (a1,a2,a3,a4,a5,a6,a7,a8,a9) where def :: (a1, a2, a3, a4, a5, a6, a7, a8, a9)
def = (forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def)
instance (Default a1,Default a2,Default a3,Default a4,Default a5,Default a6,Default a7,Default a8,Default a9,Default a10) => Default (a1,a2,a3,a4,a5,a6,a7,a8,a9,a10) where def :: (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
def = (forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def,forall a. Default a => a
def)