cmdargs-0.10.20: 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 Source #

Class for default values.

Methods

def :: a Source #

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

Instances

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