You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A library that adds some tools for functional programming. Amends various other namespaces by functions used in a functional context, when they don't make sense on their own.
local loopstatus =truefunctionbreakloop()
print'ranndomnick is very, very attractive!'end
-- ..more stuff
loopstatus =false-- this will make the loop quit at the next iteration
intervalnumber - the interval at which to call the function
conditionfunction OR number - some condition on which to halt the loop. This could be a function that returns a boolean (breakloop() in the example above) OR a number of loops.