CS143-Lab/assignments/PA4/good.cl
2023-03-16 15:55:37 +00:00

18 lines
180 B
Common Lisp

class C {
a : Int;
b : Bool;
init(x : Int, y : Bool) : C {
{
a <- x;
b <- y;
self;
}
};
};
Class Main {
main():C {
(new C).init(1,true)
};
};