13:47:59Josh_2https://github.com/K1D77A/cl-coinpayments can someone give this a once over and tell me if they see anything wrong? or if they notice anything I can improve?
15:29:04Josh_2set-funcallable-instance-function is used to make an instance of an object funcallable right?
15:32:15beachWhat happens (I guess in most implementations) is that you will copy two items from the function you give as an argument to the FUNCALLABLE-STANDARD-OBJECT, namely the entry point and the static environment.
15:32:24beachPlus other implementation-specific stuff of course.
15:33:11phoenote that in about 99% cases the function that is set is actually a closure over the object itself, in order to be able to access its slots et al
15:33:12beachSo the function given as an argument is not stored in the FUNCALLABLE-STANDARD-OBJECT.
15:33:41beachIf it were, you would have piles of indirections.
15:33:57phoeotherwise there is little* reason to use a f-s-o where just a function would do
15:34:56phoethen, unless you run into one of the edge cases I am thinking of, just use a function object then
15:39:45beachSICL bootstrapping uses a lot of FUNCALLABLE-STANDARD-OBJECT in the host system, because these objects are both host functions to be executed during bootstrapping by the host, and objects representing target functions with additional slots in them.