patxi
options.fold(emptyList<Int>()) { total, next -> when (next) { None -> total is Some -> total + next.t } }