Skip to content

Instantly share code, notes, and snippets.

@huonib
Last active April 5, 2021 01:36
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 huonib/9ddddc7998c43681795309233feeeb5c to your computer and use it in GitHub Desktop.
Save huonib/9ddddc7998c43681795309233feeeb5c to your computer and use it in GitHub Desktop.
;;;; helloworld.lisp
(in-package #:helloworld)
(defun hello ()
(format t "Hello, World!~%"))
;;; in slime
(asdf:make-build :helloworld
:type :program
:move-here #P"./"
:epilogue-code '(progn (hello)
(si:exit)))
;;; error
Condition of type: UNDEFINED-FUNCTION
The function HELLO is undefined.
No restarts available.
Top level in: #<process TOP-LEVEL>.
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment