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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe