+
+;; ===================================================
+
 ;; https://www.youtube.com/watch?v=2z-YBsd5snY
 
 ;; USE HELP - it is great!

'(1 2 3)

;; first element of list - car (contents of the address part of the register)
(car '(1 2 3))
;; rest elements of list (all except first) - cdr (contents of decrement part of the register)
(cdr '(1 2 3))

;; empty list, same as nil
'()

;; check equality of empty list and nil
(eq '() nil)

;; check if something is nil - null function
(null nil)
(null '(1 2 3))

;; construct list - add one new element
(cons 1 '(2 3))
(cons 1 (cons 2 (cons 3 '())))

;; append - add more elements to the list
(append '(1 2) '(3 4))

(goto-char (search-forward ")"))

;;; practice starts here



;; use "<leader>qq" to evaluate expressions

;; ===================================================

;; constants (atoms)
    2
    3.5
    "abe"
    path-separator
    abe_proba

;; add function
    (+ 1 3)

;; nesting functions
    (+ (* 2 3) (/ 36 4))

;; print message in minibuffer (command window)
    (message "hello there")

    (message "%s" (+ 1 3))

;; lists

;; error - evaluates function 1 on arguments 2 and 3
    (1 2 3)

;; say it is a list - quote
    (quote (1 2 3))

;; quote - treat it as a list and not as a function

