Created
January 28, 2013 06:11
-
-
Save joekarma/4653386 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defvar *foo* (get-foo)) | |
(defun get-foo () | |
42) | |
(format t "~a" *foo*) | |
;; The above code will not work, but it's analogous to the JavaScript below, which will: | |
;; var foo = getFoo(); | |
;; | |
;; function getFoo() { | |
;; return 42; | |
;; } | |
;; | |
;; alert(foo); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment