From 9741573d146e557e5c5d1b2edb20020cce1365d5 Mon Sep 17 00:00:00 2001 From: David Botton Date: Wed, 10 Jan 2024 19:22:33 -0500 Subject: [PATCH] update comments on tuturial 1 --- tutorial/01-tutorial.lisp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tutorial/01-tutorial.lisp b/tutorial/01-tutorial.lisp index 439f957..fe50ffa 100644 --- a/tutorial/01-tutorial.lisp +++ b/tutorial/01-tutorial.lisp @@ -39,14 +39,18 @@ ;; Initialize the CLOG system (initialize #'on-new-window) ;; 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. ;; If we pass the symbol 'on-new-window it ;; it will look each time for the function ;; represented by our symbol. This is generally ;; prefered in development as then we can ;; 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-browser))