Professional Documents
Culture Documents
Property List of Lisp Programmingss
Property List of Lisp Programmingss
Property List of Lisp Programmingss
programming
Ilias ahmed
Agenda
Property list of lisp programming agenda:
Setf
Getf
Putprof
Remprop
Printing and accessing properties
PRESENTATION TITLE 2
Introduction
In Lisp programming, setf is a powerful macro used for general value assignment.
It provides a consistent and flexible way to set the values of variables,
including modifying data structures like lists, arrays, and properties.
When it comes to properties,
setf is often used in conjunction with get to update or change the values associated
with specific keys in a property list or other data structures.
(setq person-properties
'(
:first-name “ilias "
:last-name “Ahmed"
:age 49
:gender "Male"
Conitnuee……
:occupation "Data Scientist"
:hobbies '("Reading" "Coding" "Swimming")
:languages '("Lisp" "Python" "R")
:height 180
:weight 75
:education “Msc in CSE"
:email “ilias.ahmed.2021@gmail.com"
:phone “01718556889"
:address “500 Shamim sorony Mirpur dhaka"
:is-student t
:is-employee t
:has-license t
:birthplace “kishregonj"
:nationality “Bangladeshi"
:marital-status "Married"
:children ‘(“sabiha" “anantoo")
:pets '("Cat" "Dog")
:favorite-color "Green"
:favorite-book "The python Revolution"
:sports '("Tennis" "Basketball")
:music-genres '("Jazz" "Rock" "Classical")
:work-experience '("Data Analyst" "Researcher")
:certifications '("Data Science Professional" “data analyst Expert")
:interests '("Machine Learning" "Data Visualization")
;; Set properties using putprop