Found a bug in SBCL 1.5.4

While implementing a version of change-class specializing on a metaclass as mentioned in the previous post, I noted that the resultant instance (unless change-class got called with initargs) had all slot values as nil or unbound. This puzzled me…

Continue reading

Partial Function Application Pragmatics

Partial function application is the fancy term for fixing some of the arguments to a function, to obtain a lower-arity function. And I have had case to use it at work over the past few weeks. In particular, I have wanted to map/filter over a list – but with functions that take more than one variable, while I have only had one list of interest.

Continue reading