zerobuzz / configifier

parser for config files, shell variables, command line args.
GNU Affero General Public License v3.0
22 stars 7 forks source link

Better accessors #1

Closed mf59816 closed 9 years ago

mf59816 commented 9 years ago

Right now, getting a value from a config structure is a bit awkward and requires lots of Proxy noise. I have tried to make this a little better, but got stuck:

https://github.com/zerobuzz/configifier/tree/2015-03-04-mf-better-selectors

Search for >>.

An alternative would be to use TH to get rid of the Proxy noise.

mf59816 commented 9 years ago

Also related: b32de2f6

mf59816 commented 9 years ago

... and a51ca98

mf59816 commented 9 years ago

... and https://gist.github.com/kosmikus/dec18f6aa51a2c423b4d for a solution (thanks @kosmikus!)

mf59816 commented 9 years ago

Solved in 8cdc1700.

Thanks @kosmikus! (You are now co-author of this.)