Skip to content

Instantly share code, notes, and snippets.

@marianoguerra
Created April 7, 2012 03:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marianoguerra/2324767 to your computer and use it in GitHub Desktop.
Save marianoguerra/2324767 to your computer and use it in GitHub Desktop.
hello world 2
; ask for the name
(display "name? ")
; bind the input to a variable
($let ((name (read-line)))
; build the message and bind it t a variable
($let ((message (string-append "Hello " name "!\n")))
; display the message
(display message)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment