Extend integer?

Discussion of Common Lisp

Re: Extend integer?

Postby wvxvw » Mon Jul 11, 2011 8:23 am

Well, I thought that type is the way to define arbitrary predicate for checking the function argument. That's why I've got confused. But it's really over my head now, thank you for the link nevertheless.
wvxvw
 
Posts: 127
Joined: Sat Mar 26, 2011 6:23 am

Re: Extend integer?

Postby gugamilare » Mon Jul 11, 2011 8:54 am

Ramarren wrote:Well, there is something called filtered-dispatch, which allows dispatching on arbitrary predicates, but I am not sure how widely it is used, if at all.


Cool 8-)

I just realized that CFFI uses something very similar to filtered-dispatch. I guess this could also be used to make those defoptimizer's of SBCL portable (unless those which use SBCL's internals, of course).
gugamilare
 
Posts: 406
Joined: Sat Mar 07, 2009 6:17 pm
Location: Brazil

Previous

Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 2 guests

cron