rocketraman
FooBar: Foo, Bar
inBindSet<Foo> { bind { singleton { new(::FooBar) } } } inBindSet<Bar> { bind { singleton { new(::FooBar) } } }
bind { singleton { new(::FooBar) } } inBindSet<Foo> { add { instance<FooBar>() } } inBindSet<Bar> { add { instance<FooBar>() } }
romainbsl
bind { singleton { Cls() } } bindSet<Itf> { add { singleton { instance<Cls>() } } } bindSet<Itf2> { add { singleton { instance<Cls>() } } }
A modern programming language that makes developers happier.