System.Console.CmdArgs.Default

cmdargs-0.10.18: Command line argument processing

Safe Haskell | Safe
Language | Haskell2010

System.Console.CmdArgs.Default

Description

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

Synopsis

- class Default a where
  - def :: a

# Documentation

class Default a where #

Class for default values.

Methods

def :: a #

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

Instances

Default Bool # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Bool #
Default Double # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Double #
Default Float # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Float #
Default Int # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Int #
Default Int8 # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Int8 #
Default Int16 # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Int16 #
Default Int32 # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Int32 #
Default Int64 # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Int64 #
Default Integer # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Integer #
Default Word # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Word #
Default Word8 # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Word8 #
Default Word16 # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Word16 #
Default Word32 # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Word32 #
Default Word64 # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Word64 #
Default () # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: () #
Default TextFormat # |
Instance details Defined in System.Console.CmdArgs.Text Methods def :: TextFormat #
Default HelpFormat # |
Instance details Defined in System.Console.CmdArgs.Explicit.Help Methods def :: HelpFormat #
Default [a] # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: [a] #
Default (Maybe a) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: Maybe a #
(Default a1, Default a2) => Default (a1, a2) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2) #
(Default a1, Default a2, Default a3) => Default (a1, a2, a3) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2, a3) #
(Default a1, Default a2, Default a3, Default a4) => Default (a1, a2, a3, a4) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2, a3, a4) #
(Default a1, Default a2, Default a3, Default a4, Default a5) => Default (a1, a2, a3, a4, a5) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2, a3, a4, a5) #
(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6) => Default (a1, a2, a3, a4, a5, a6) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2, a3, a4, a5, a6) #
(Default a1, Default a2, Default a3, Default a4, Default a5, Default a6, Default a7) => Default (a1, a2, a3, a4, a5, a6, a7) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2, a3, a4, a5, a6, a7) #
(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) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2, a3, a4, a5, a6, a7, a8) #
(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) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2, a3, a4, a5, a6, a7, a8, a9) #
(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) # |
Instance details Defined in System.Console.CmdArgs.Default Methods def :: (a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) #