haskell - How to implement and use the sub-modes feature from System.Console.CmdArgs -


i create kind of swiss-knife tool specific domain, , "cabal" or "darcs" command-line interface looks perfect.

using on-line tutorials implement simple "hello, world" program. implemented more sophisticated solution modes , when well.

but now, explore "sub-modes" have understanding of possibilities, , i'm stuck. not find tutorial, example or detailed description of feature.

how implement , use submodes feature?

i want clarify understand modes, it's submodes not clear me.

the cmdargs tutorial has examples sub-modes. documentation modes function clear.

in fact, google search "cmdargs modes" reveals quite a few more tutorials covering this.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

How to call a javascript function after the page loads with a chrome extension? -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -