*
This commit is contained in:
parent
54d12060ec
commit
80d8f87883
18 changed files with 292 additions and 76 deletions
11
std.grr
Normal file
11
std.grr
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
def when { [] if }
|
||||
def unless { swap when }
|
||||
|
||||
def bi { [keep] dip call }
|
||||
def tri { [[keep] dip keep] dip call }
|
||||
|
||||
def times {
|
||||
if: over 0 =
|
||||
[drop drop]
|
||||
[swap over >r >r call r> 1 - r> times];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue