The beautiful thing about languages in the Lisp family is the (relatively) uniform syntax. Just like you call the function square
by writing (square n)
or *
by (* n1 n2 ...)
, you call dist
, which takes two arguments with, (dist point1 point2)
. In context, this might be something like:
(let ((point1 (make-coord …))
(point2 …))
(dist point1 point2))