1 / 11

Symboly

Symboly. (symbolp 12) (symbolp ‘jano) (symbolp “jano”) (symbolp ‘(jano)) (symbolp :jano). Symboly. (symbol-name ‘jano) (symbol-name :jano) (symbol-name t) (symbol-name nil). Symboly. (intern “miso”) (intern “miso”) (intern “+”). Symboly. (symbol-package ‘jano)

arvin
Download Presentation

Symboly

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Symboly • (symbolp 12) • (symbolp ‘jano) • (symbolp “jano”) • (symbolp ‘(jano)) • (symbolp :jano)

  2. Symboly • (symbol-name ‘jano) • (symbol-name :jano) • (symbol-name t) • (symbol-name nil)

  3. Symboly • (intern “miso”) • (intern “miso”) • (intern “+”)

  4. Symboly • (symbol-package ‘jano) • (symbol-package :jano) • (symbol-package t) • (symbol-package ‘+)

  5. Symboly • (symbol-value t) • (symbol-value ‘jano) • (symbol-value ‘*) • (symbol-value ‘print)

  6. Symboly • (symbol-function t) • (symbol-function ‘jano) • (symbol-function ‘*) • (symbol-function ‘print)

  7. Symboly • (function +) • #’+

  8. Symboly • (set fero miso) • (set fero ‘miso) • (set ‘fero ‘miso) • (set fero ‘miso) • (setq miso karol) • (setq karol miso)

  9. Symboly • (setf juro karol) • (setf juro ‘(1 2 3)) • (setf (second juro) ‘peter) • (setf (symbol-function 'kuko) #'+) • (kuko 1 2 3)

  10. Symboly • (boundp ‘xx) • (fboundp ‘xx) • (setf xx ‘qq) • (boundp ‘xx) • (boundp xx) • (setf (symbol-function ‘xx) #'+) • (fboundp ‘xx) • (fboundp xx)

  11. Symboly • (setf meno ‘jano) • (setf id ‘meno) • id • meno • (symbol-value id) • (unintern ‘meno) • id • meno • (symbol-value id)

More Related