Skip to content

Instantly share code, notes, and snippets.

@tetsu-miyagawa
Created November 16, 2015 23:14
Show Gist options
  • Save tetsu-miyagawa/0dd65c360a12a4c3e325 to your computer and use it in GitHub Desktop.
Save tetsu-miyagawa/0dd65c360a12a4c3e325 to your computer and use it in GitHub Desktop.
CTMCP Section 2.9 Exercise 2 (2)
local MulByN A B N in
local N in
N=3
proc {MulByN X ?Y}
Y=N*X
end
end
A=4
N=5
{Browse N}
{MulByN A B}
{Browse B}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment