Skip to content

Instantly share code, notes, and snippets.

@seanchas116
Last active December 21, 2015 12:29
Show Gist options
  • Save seanchas116/6306349 to your computer and use it in GitHub Desktop.
Save seanchas116/6306349 to your computer and use it in GitHub Desktop.
僕の考えた最弱な言語
x = 5
y = 10
add = (x, y) =>
x + y
end
z = add x, y
times = (i, fn) =>
iteration = (j) =>
switch j < i
when true
fn j
iteration j+1
end
end
iteration 0
end
times z, (i) =>
puts "#{i}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment