update comments on tuturial 1

This commit is contained in:
David Botton 2024-01-10 19:22:33 -05:00
parent 492477cabb
commit 9741573d14

View file

@ -39,14 +39,18 @@
;; Initialize the CLOG system ;; Initialize the CLOG system
(initialize #'on-new-window) (initialize #'on-new-window)
;; Set the function on-new-window to execute ;; Set the function on-new-window to execute
;; everytime a browser connection to our app. ;; everytime a browser connects to our app.
;;
;; Advanced:
;;
;; #' tells common lisp to pass the function. ;; #' tells common lisp to pass the function.
;; If we pass the symbol 'on-new-window it ;; If we pass the symbol 'on-new-window it
;; it will look each time for the function ;; it will look each time for the function
;; represented by our symbol. This is generally ;; represented by our symbol. This is generally
;; prefered in development as then we can ;; prefered in development as then we can
;; recompile our events while running ie. M-C-x ;; recompile our events while running ie. M-C-x
;; in emacs. ;; in emacs. In the next tutorial we use the symbol
;; instead of the function.
;; Open a browser to http://127.0.0.1:8080 - the default for CLOG apps ;; Open a browser to http://127.0.0.1:8080 - the default for CLOG apps
(open-browser)) (open-browser))