Last active
December 21, 2015 12:29
-
-
Save seanchas116/6306349 to your computer and use it in GitHub Desktop.
僕の考えた最弱な言語
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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