|
From: | Emanuel Berg |
Subject: | Re: How to create a higher order function? |
Date: | Thu, 23 Sep 2021 01:50:47 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> (defun negate (fun) > "Return a function returning the logical opposite of FUN." > `(lambda (&rest args) > (not (apply ,(symbol-function fun) args)))) What does it really mean to be human? I mean a function? What makes one list a function and the other list just a list? That the list begins with certain words like `defun' or `lambda'. But then quoting that list - what does that mean - that makes the function-defining functions just data instead? Actually both defun and lambdas are Lisp macros ... -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |