emacs-devel
[Top][All Lists]
Advanced

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

Re: proposal to make null string handling more emacs-y


From: Lars Magne Ingebrigtsen
Subject: Re: proposal to make null string handling more emacs-y
Date: Fri, 27 Apr 2012 03:16:41 +0200
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> I can believe that (it's often handy to use "nil-in-nil-out" when
> composing functions which may return nil).  But there's also the risk
> that you hide real errors, leading to weird behaviors that are more
> difficult to track down.

I see allowing more nil values in string-ey functions as a very Lisp-ey
thing to do.

I'm really really happy that Emacs Lisp isn't Scheme-like.  Stuff like

(assq 'foo bar) ⇒  #f

would just drive me totally batty.

Battier.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

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