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

Safe HaskellSafe
LanguageHaskell2010

Text.LambdaOptions.Example.Example_4_Booly

Description

View my source code to see example.

Synopsis

Documentation

main :: IO () Source #

Try with these succeeding examples:

:main --and true false
:main --and TRUE FALSE
:main --and 1 0
:main --and true 0 --or 1 TRUE

Also try with these failing examples:

:main --and true
:main --and t f
:main --and 0 2
:main --and True False