<@U5KGFBE73> try ``` val hr = { for (i in ...
# getting-started
d
@perryprog try
Copy code
val hr = {
        for (i in 1..2) {
            for (k in 1..180)
                print("—")

            println()
        }
    }

    println("Thing one")
    hr.invoke()
    println("Thing two")
    hr.invoke()
p
dekee: My problem is I just want to call
hr
without parens. It’s not really a big deal, it would just look better. adding
.invoke()
is just longer than a regular function with
hr()
.