Doubts from section 3. Hello World
In section 3. Hello World
, this example is introduced:
(define-module (hello))
(define-public hi
(lambda* (#:optional name)
(if name
"hello Jérémy\n"
"hello world\n")))
What is the difference between lambda
and lambda*
. Is the #
of the keywords :optional
necessary? If it is why?