Skip to content

Instantly share code, notes, and snippets.

View ae6rt's full-sized avatar

Mark Petrovich ae6rt

  • Petaluma, CA
View GitHub Profile
@ae6rt
ae6rt / kotlin-tuples
Created March 5, 2012 02:33
Kotlin tuples
fun getRuntimeParams(args: Array<String>) : #(String?, String?) {
var t = 0
var targetListName : String? = null
var since : String? = null
while(t < args.size) {
if( args[t].equals("--list")) {
targetListName = args[++t]
}
if( args[t].equals("--since")) {