cmdargs-0.10.18: Command line argument processing

Safe HaskellSafe
LanguageHaskell2010

System.Console.CmdArgs.Default

Description

This module provides default values for many types. To use the default value simply write def.

Synopsis

Documentation

class Default a where Source #

Class for default values.

Minimal complete definition

def

Methods

def :: a Source #

Provide a default value, such as (), False, 0, [], Nothing.

Instances

Default Bool Source # 

Methods

def :: Bool Source #

Default Double Source # 

Methods

def :: Double Source #

Default Float Source # 

Methods

def :: Float Source #

Default Int Source # 

Methods

def :: Int Source #

Default Int8 Source # 

Methods

def :: Int8 Source #

Default Int16 Source # 

Methods

def :: Int16 Source #

Default Int32 Source # 

Methods

def :: Int32 Source #

Default Int64 Source # 

Methods

def :: Int64 Source #

Default Integer Source # 

Methods

def :: Integer Source #

Default Word Source # 

Methods

def :: Word Source #

Default Word8 Source # 

Methods

def :: Word8 Source #

Default Word16 Source # 

Methods

def :: Word16 Source #

Default Word32 Source # 

Methods

def :: Word32 Source #

Default Word64 Source # 

Methods

def :: Word64 Source #

Default () Source # 

Methods

def :: () Source #

Default TextFormat Source # 
Default HelpFormat Source # 
Default [a] Source # 

Methods

def :: [a] Source #

Default (Maybe a) Source # 

Methods

def :: Maybe a Source #

(Default a1, Default a2) => Default (a1, a2) Source # 

Methods

def :: (a1, a2) Source #

(Default a1, Default a2, Default a3) => Default (a1, a2, a3) Source # 

Methods

def :: (a1, a2, a3) Source #

(Default a1, Default a2, Default a3, Default a4) => Default (a1, a2, a3, a4) Source # 

Methods

def :: (a1, a2, a3, a4) Source #

(Default a1, Default a2, Default a3, Default a4, Default a5) => Default (a1, a2, a3, a4, a5) Source # 

Methods

def :: (a1, a2, a3, a4, a5) Source #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6) => Default (a1, a2, a3, a4, a5, a6) Source # 

Methods

def :: (a1, a2, a3, a4, a5, a6) Source #

(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7) => Default (a1, a2, a3, a4, a5, a6, a7) Source # 

Methods

def :: (a1, a2, a3, a4, a5, a6, a7) Source #

(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) Source # 

Methods

def :: (a1, a2, a3, a4, a5, a6, a7, a8) Source #

(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) Source # 

Methods

def :: (a1, a2, a3, a4, a5, a6, a7, a8, a9) Source #

(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) Source # 

Methods

def :: (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) Source #