Some useful code that incidentally commits type piracy.
-
f^nreturns the function(x, args...) -> f(f(f(x, args...), args...), args...)..., wherefis nestedntimes. This is taken from a post by oxinabox. -
(construct a generator)(). Calling a generator, iterates over the generator, discarding all values.