[Top][All Lists]

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

Re: plist-put modification by side effect

From: Andreas Politz
Subject: Re: plist-put modification by side effect
Date: Mon, 02 Feb 2009 19:07:18 +0100
User-agent: Mozilla-Thunderbird (X11/20081018)

Thien-Thi Nguyen wrote:
() Dan Davison <address@hidden>
() Sun, 1 Feb 2009 11:23:14 -0500

   So if I've understood this then I think the docstring is inaccurate
   since `The PLIST is modified by side effects.' is not necessarily

When something is consed onto the head of a list, the list is not modified.


I believe the whole term 'side effect' is a lisp heritage, where it marks a
destructive function, one which _may_ modify it's arguments.
In constrast to 'functional functions' like append etc. So the emphasis is
on 'altering it's argument' and not on 'dont' bother with the return value'.


reply via email to

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