RosettaCodeData/Task/Repeat/PARI-GP/repeat.parigp

3 lines
59 B
Plaintext

repeat(f, n)=for(i=1,n,f());
repeat( ()->print("Hi!"), 2);