lambda-options-0.9.0.0: A modern command-line parser for Haskell.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.LambdaOptions.List

Synopsis

Documentation

newtype List a Source

A simple wrapper over [a]. Used to avoid overlapping instances for Parseable [a] and Parseable String

Constructors

List 

Fields

unList :: [a]
 

Instances

Eq a => Eq (List a) 
Data a => Data (List a) 
Ord a => Ord (List a) 
Read a => Read (List a) 
Show a => Show (List a) 
Parseable a => Parseable (List a)

Greedily parses arguments item-wise. Never fails. Example: parse (words "5 67 NaN") == (Just (List [5,67]), 2)

Typeable (* -> *) List