Monadic and applicative command line argument processing.