Name: Anonymous 2008-09-17 19:25
I was wondering if it is possible to set default values for parameters in lisp (specifically scheme) like you can in C++.
Or is it best to just create a second procedure that passes in, for example, the first two parameters and a default value into my original procedure?
I hope that made sense.
Before someone suggests I read SICP, I am halfway through the chapter on Data Abstraction.
Or is it best to just create a second procedure that passes in, for example, the first two parameters and a default value into my original procedure?
I hope that made sense.
Before someone suggests I read SICP, I am halfway through the chapter on Data Abstraction.