takusen -> cabal -> ArgDescr (2) - my journey + suggestion

Lennart Kolmodin kolmodin at dtek.chalmers.se
Mon Mar 10 18:48:09 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marc Weber wrote:
[snip]
| What the hell is the third arg in ArgDescr ( OptArg) ?
| Where is this used ? ([ a -> [Maybe String])
| argDescrToGetOpt _ ? no, not here
| ah in commandShowOptions ?
| Wow.. you can print your commandlines again? wow.
| But wait that function is used nowhere?

It's used in cabal-install; http://darcs.haskell.org/cabal-install
I can agree the flag business seems confusing at first.

| == Suggestion ================================================
I'd have to read the source more to give good answers here :)

Cheers, take care,
~  Lennart Kolmodin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH1bqp4txYG4KUCuERArE1AJ9CM0AUxm192ViDLyd+aBOUSr+9uwCfUYKe
9NlmH+sl0KuneQMNYM90yv4=
=yycp
-----END PGP SIGNATURE-----



More information about the cabal-devel mailing list