User Tools

Site Tools


ch2_3_predic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ch2_3_predic [2022/03/03 09:16] adminch2_3_predic [2022/03/30 04:28] (current) admin
Line 1: Line 1:
 **//Predicates//** **//Predicates//**
  
-Simple functions that return ''T'' or ''NIL''.+Simple functions that return ''T'' or ''NIL''. They have no side effects.
  
 ''EQ'' ''EQ''
Line 230: Line 230:
  
 <code lisp> <code lisp>
->(fboundp '+)     ; ordinary function+>(special-operator-p '+)     ; ordinary function
 NIL NIL
  
->(fboundp 'if)    ; special operator IF+>(special-operator-p 'if)    ; special operator IF
 T T
 </code> </code>
  
ch2_3_predic.1646324186.txt.gz · Last modified: 2022/03/03 09:16 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki