Skip to content

Instantly share code, notes, and snippets.

@nefftd
Created June 13, 2014 21:48
Show Gist options
  • Save nefftd/1c2f0bdef037347e3afc to your computer and use it in GitHub Desktop.
Save nefftd/1c2f0bdef037347e3afc to your computer and use it in GitHub Desktop.
tostringall (moonscript)
do
tsa = (n,a,...) ->
tostring(a),tsa(n-1,...) if n > 0
export tostringall = (...) ->
n = select '#',...
tsa n,... if n > 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment