Repeat

func repeat(f, n) {
    { f() } * n
}
 
func example {
    say "Example"
}
 
repeat(example, 4)

Last updated