diff --git a/std.isbpl b/std.isbpl index b758a20..c91fcef 100644 --- a/std.isbpl +++ b/std.isbpl @@ -593,3 +593,12 @@ func astartswith { match alen asub match eq } + +func times { + with callable amount ; + def i 0 =i + callable [ while { i amount lt } { + i + i 1 + =i + } ] foreach +}