Matteo Mirk
11/15/2021, 11:11 PMval hello = MicroTemplate("Hello, {title}{name}")
val typedHello = TypedMicroTemplate(hello, BusinessCard::class)
typedHello(BusinessCard(name = "Smith", title = "Mr.")) // Hello, Mr.Smith
typedHello(mapOf("name" to "Smith")) // won't compile!
It’s a tiny library but it’s growing day after day, thanks for passing by!