Open shaunlebron opened 5 years ago
It looks like (reify Object (toString [] ...)) is just a way to add functions to a constructor's prototype. I'm tempted to add Object as a syntax entry since it's not a var, but a special symbol shared by extend-type, reify, deftype, etc.
(reify Object (toString [] ...))
Object
It looks like
(reify Object (toString [] ...))
is just a way to add functions to a constructor's prototype. I'm tempted to addObject
as a syntax entry since it's not a var, but a special symbol shared by extend-type, reify, deftype, etc.