[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colorize objects by method dispatch type
From: |
Michael Heerdegen |
Subject: |
Re: Colorize objects by method dispatch type |
Date: |
Sat, 04 Apr 2020 01:23:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Then again, maybe
>
> (defun my-type-hash (v)
> (let ((type (if (and (consp v) (symbolp (car v))) (car v) (type-of v))))
> (sxhash-equal (symbol-name type))))
>
> is not such a bad idea after all ;-)
Hmm, yes - probably, I'll go with that :-)
Thanks for the elaborations.
Michael.