Last active
October 13, 2022 15:10
-
-
Save klukwist/755eae5b2fc12c2d14ac9e3e5137bad5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module { | |
singleton<A> { AImpl() } | |
factory<B> { | |
BImpl( | |
a = get() | |
) | |
} | |
factoryWithParams<C> { (aParam) -> | |
C( | |
a = aParam as A, | |
b = get() | |
) | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment