lispdoc - results for atom |
(atom object) | Function: Return true if OBJECT is an ATOM, and NIL otherwise.
|
Example:(defun label-p (x) "Is x a label?" (atom x)) | Mentioned in: CLtL2 - 15.5. Using Lists as Sets CLtL2 - 2.4. Lists and Conses CLtL2 - 6.2.2. Specific Data Type Predicates CLtL2 - 7.8.2. General Iteration HyperSpec - Function ATOM HyperSpec - Type ATOM On Lisp - A Query Interpreter On Lisp - An Interpreter On Lisp - Chapter _28 On Lisp - Continuation-Passing Macros On Lisp - Operations on Lists On Lisp - Other Structures On Lisp - Recursion on Subtrees On Lisp - Recursion on Subtrees (Macros Returning Functions) PCL - list manipulation functions Successful Lisp - evaluated |
(time form) | Function: Execute FORM and print timing information on *TRACE-OUTPUT*. On some hardware platforms estimated processor cycle counts are included in this output; this number is slightly inflated, since it includes the pipeline involved in reading the cycle counter -- executing (TIME NIL) a few times will give you an idea of the overhead, and its variance. The cycle counters are also per processor, not per thread: if multiple threads are running on the same processor, the reported counts will include cycles taken up by all threads running on the processor where TIME was executed. Furthermore, if the operating system migrates the thread to another processor between reads of the cycle counter, the results will be completely bogus. Finally, the counter is cycle counter, incremented by the hardware even when the process is halted -- which is to say that cycles pass normally during operations like SLEEP.
|
Example:(defun test-rotation () (setf *debug-tk* nil) (time (dotimes (i 100) (rotate))) (finish-output)) | Mentioned in: CLtL2 - 25.3. Debugging Tools HyperSpec - 25.1.4 Time HyperSpec - 25.1.4.1 Decoded Time HyperSpec - 25.1.4.2 Universal Time HyperSpec - 25.1.4.3 Internal Time HyperSpec - 3.5.1.1.1 Error Detection Time in Safe Calls HyperSpec - Macro TIME On Lisp - A Sample ATN On Lisp - Objects in Plain Lisp PCL - make it work make it right make it fast Successful Lisp - efficiency |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |