Created
November 17, 2015 14:12
-
-
Save tetsu-miyagawa/4e67a64593dce5c3ad50 to your computer and use it in GitHub Desktop.
CTMCP Section 2.9 Exercise 4 (b) 2
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 X in | |
X=person(name:"George" age:25) | |
if {Label X}==person andthen {Arity X}.2.1==name andthen X.name=="George" then {Browse X.age} | |
else {Browse false} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment