PromiseKit and `ensure`

Update: PromiseKit added ensureThen (discussion). Intro The essence of functional programming is to express computation in small, self contained units (functions) that we can combine together »


First, what is Kotlin? It's a language created by IntelliJ that runs in the JVM and Google announced official support for it in Android development at last year's Google I/O. »