On Fri, May 23, 2014 at 03:24:25PM +0200, 'Petr Pudlak' via ganeti-devel wrote: > This allow to work with sets using the standard lens mechanisms. > > Also add a function that creates a lens where a setter function also > uses the information from a getter. This allows to optimize the setter, > in particular in the case of Set, keep the set unmodified, if the inner > function doesn't change anything. > > Signed-off-by: Petr Pudlak <[email protected]> > --- > src/Ganeti/Lens.hs | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+)
LGTM -- Klaus Aehlig Google Germany GmbH, Dienerstr. 12, 80331 Muenchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores
