From 42e6aaefb83fafc5338c892006f8189937b0667e Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 17 Feb 2022 03:51:29 -0800 Subject: doc: extend fboundp dialect note. * txr.1: Mention that ANSI CL's fboundp doesn't yield true for lambda expressions, and how that affects the example expression's fidelity. --- txr.1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/txr.1 b/txr.1 index dd4312f3..92e008b8 100644 --- a/txr.1 +++ b/txr.1 @@ -19208,7 +19208,13 @@ bindings. In \*(TL, they are considered bindings. The ANSI Common Lisp .code fboundp yields true if its argument has a function, macro or operator -binding. The behavior of the Common Lisp expression +binding, whereas the \*(TL +.code fboundp +does not consider operators or macros. +The ANSI CL +.code fboundp +does not yield true for lambda expressions. +Behavior similar to the Common Lisp expression .code "(fboundp x)" in Common Lisp can be obtained in \*(TL using the @@ -19216,7 +19222,9 @@ in Common Lisp can be obtained in \*(TL using the (or (fboundp x) (mboundp x) (special-operator-p x)) .brev -expression. +expression, except that this will also yield true when +.code x +is a lambda expression. The .code mboundp -- cgit v1.2.3