I hereby claim:
- I am enzief on github.
- I am enzief (https://keybase.io/enzief) on keybase.
- I have a public key ASBEOgkedBfHdI4jihpDQGi3SST85g--dTP5ylolIKBvpgo
To claim this, I am signing this object:
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
case class Config(one: Config_1) | |
case class Config_1(two: Config_2) | |
case class Config_2(three: Config_3) | |
case class Config_3(value: Int) | |
class GetIntService { | |
def fromConfig(c: Config): Int | |
} | |
def main(config: Config)(service: GetIntService): Int = service.fromConfig(config) + 1 |