Created
November 16, 2015 23:12
-
-
Save tetsu-miyagawa/f0b028162240213ec454 to your computer and use it in GitHub Desktop.
CTMCP Section 2.9 Exercise 2 (1)
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
local MulByN A B in | |
local N in | |
N=3 | |
proc {MulByN X ?Y} | |
Y=N*X | |
end | |
end | |
A=4 | |
{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