
12 Sep
2011
12 Sep
'11
11:13 a.m.
Hi Sebastian, On Sep 12, 2011, at 4:24 AM, Sebastian Fischer wrote:
https://github.com/sebfisch/haskell-barchart/blob/v0.1.1.1/src/barchart.hs
for an example of different modes that share most but not all of their options. IIRC, it works because in the list of exec modes later items inherit from previous items what they do not define themselves.
Is that because of &= auto ? I override a default record for each mode as you see at http://joyful.com/darcsden/simon/hledger/hledger/Hledger/Cli/Options.hs#L-49 . At first guess I would say the end result is the same, but maybe not. Thanks for the example. -Simon