[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repeat function



What about something like this?

fn repeat n args {
    let ( count= ) {
	while { ! ~ $#count n } {
	    $args
	    count = $count x
	}
    }
}