Let's say I have a structure "phonenumber".
(define-structure phonenumber country area prefix line)
This will give me a function (make-phonenumber). I would like to get the number of arguments that make-phonenumber takes. The answer is 4.
Let's say I have a structure "phonenumber".
(define-structure phonenumber country area prefix line)
This will give me a function (make-phonenumber). I would like to get the number of arguments that make-phonenumber takes. The answer is 4.
Copyright © 2021 Jogjafile Inc.
See if your Scheme implementation offers the
procedure-arity
function.