Skip to content
Discussion options

You must be logged in to vote

This form is supported on the normal define, so just drop the * and you're good:

(define (what num #:optional (func list)) (func num))

(what 10) ;; => '(10)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ofeeg
Comment options

Answer selected by ofeeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants