Hacker News new | ask | show | jobs
by sorokod 55 days ago
Type safe DSLs in Kotlin

https://kotlinlang.org/docs/type-safe-builders.html

1 comments

Copied from Groovy Builders, here's an example from 2009: https://blog.mrhaki.com/2009/10/groovy-goodness-creating-xml...