lambda-options-1.1.0.0: Declarative command-line parser with type-driven pattern matching.

Safe HaskellSafe
LanguageHaskell2010

Text.LambdaOptions.Example.Example_1_Simple

Description

View my source code to see example.

Synopsis

Documentation

main :: IO () Source #

Try with these succeeding examples:

:main --help
:main --add 1 2
:main --add 3 4 --add 5 6
:main --add -1 3.14

Also try with these failing examples:

:main --add 0
:main --add 1 2 3
:main --add 123
:main --add True 0
:main --add 0 True