Created
April 9, 2022 15:06
-
-
Save andrey-zakharov/e049d1f7190dc0434fec0a1538b8d953 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
sealed class RecursiveMap<R, T> { | |
class Data<R, T>(val data: T): RecursiveMap<R, T>() | |
class Container<R, T>(private val map: Map<R, RecursiveMap<R, T>>) : RecursiveMap<R, T>(), Map<R, RecursiveMap<R, T>> by map | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment