aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-09-08 06:25:04 +0000
committerdos-reis <gdr@axiomatics.org>2007-09-08 06:25:04 +0000
commitbba4fa029c774d626f2c1159e6f2be78a315899c (patch)
tree6e197218ff958f97bc45c12542e3b4a6e422024f /src
parentd58f59bfacaeb7eb99ddc20b73f2ac7dbad2aa30 (diff)
downloadopen-axiom-bba4fa029c774d626f2c1159e6f2be78a315899c.tar.gz
* core.lisp.pamphlet (|%hasFeature|): New.
Diffstat (limited to 'src')
-rw-r--r--src/lisp/ChangeLog4
-rw-r--r--src/lisp/core.lisp.pamphlet10
2 files changed, 14 insertions, 0 deletions
diff --git a/src/lisp/ChangeLog b/src/lisp/ChangeLog
index 9402faaa..b4b96645 100644
--- a/src/lisp/ChangeLog
+++ b/src/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * core.lisp.pamphlet (|%hasFeature|): New.
+
2007-09-05 Gabriel Dos Reis <gdr@cs.tamu.edu>
* core.lisp.pamphlet (|compileLispFile|): Tidy.
diff --git a/src/lisp/core.lisp.pamphlet b/src/lisp/core.lisp.pamphlet
index c781417f..2e12ebc9 100644
--- a/src/lisp/core.lisp.pamphlet
+++ b/src/lisp/core.lisp.pamphlet
@@ -33,6 +33,9 @@
"errorCount"
"countError"
"warn"
+
+ "%hasFeature"
+
"getCommandLineArguments"
"processCommandLine"
"handleCommandLine"
@@ -736,6 +739,13 @@ it would return $0$, meaning that everything is OK.
\subsection{Lisp implementation-dependent support}
+\subsectionFeature tests}
+
+<<AxiomCore>>=
+(defun |%hasFeature| (f)
+ (member f *features* :test #'eq))
+@
+
\subsubsection{SBCL}
<<AxiomCore>>=