[Top][All Lists]

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

Re: expose XHASH [patch]

From: Paul Pogonyshev
Subject: Re: expose XHASH [patch]
Date: Fri, 8 Apr 2016 21:24:39 +0200

Here is the next patch iteration. I didn't rename C level function and
also didn't touch *.el files that already use `sxhash'.


* src/fns.c (Fsxhash_eq, Fsxhash_eql): New functions.
(Fsxhash_equal): Rename from 'Fsxhash'.

* lisp/subr.el (sxhash): New alias for 'sxhash-equal'.

* lisp/byte-opt.el: List 'sxhash-eq' and 'sxhash-eql' as
side-effect free functions.

* doc/lispref/hash.texi (Defining Hash): Document 'sxhash-eq' and
'sxhash-eql'.  Change 'sxhash' to 'sxhash-equal', but mention
that the former is an alias for the latter.

* etc/NEWS: Mention 'sxhash-eq' and 'sxhash-eql'.  Mention that
'sxhash' is now an alias for 'sxhash-equal'.

On 8 April 2016 at 20:44, Stefan Monnier <address@hidden> wrote:
>> Well, I don't know, it's a functions that have existed for a good
>> amount of time already. And also having some parallel in common lisp,
>> for example. Or do you mean like renaming, but making `sxhash' an
>> alias for `sxhash-equal'?
> Something like that, yes.
>         Stefan

Attachment: sxhash.diff
Description: Text document

reply via email to

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