[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: type checking for arbitrary lisp objects

From: Roland Winkler
Subject: Re: type checking for arbitrary lisp objects
Date: Fri, 11 Apr 2014 14:22:57 -0500

On Fri Apr 11 2014 Daniel Colascione wrote:
> Why not use cl-deftype?

...Interesting! - I guess the main difference to what I have in mind
is that cl-deftype appears to require some lisp code for FORMS.
I am thinking about replacing these forms by some more readable
pattern such as the one I included in my first post.  The function
bbdb-check-type then compares an arbitrary lisp object against such
pattern.  I find it more readable and also more flexible to define
patterns instead of hacking actual code.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]