Syntax Matters
CLOS
:
(defmethod speak ((who animal))
(format t "I'm an animal: ~A~%" who))
Dylan:
define method main (argv0 :: <byte-string>,
#rest noise)
puts("Hello, World.\n");
end;
Cecil:
x@smallInt + y@smallInt
{ ^primAdd(x,y, {&errorCode | … })}