Created
November 24, 2015 14:38
-
-
Save johnfredcee/c57791e2266b89fc49d2 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
| ;;; The following lines added by ql:add-to-init-file: | |
| #-quicklisp | |
| (let ((quicklisp-init #P"/wsr/lisp/quicklisp/setup.lisp")) | |
| (when (probe-file quicklisp-init) | |
| (load quicklisp-init))) | |
| (defun start-swank-server (&key (port 4006)) | |
| "Starts a swank-server on the localhost interface." | |
| (unless (find-package "SWANK") | |
| (ql:quickload :swank)) | |
| (funcall (intern "CREATE-SERVER" "SWANK") :port port :style nil) | |
| (values)) | |
| (defun stop-swank-server (&key (port 4006)) | |
| (funcall (intern "STOP-SERVER" "SWANK") :port port)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment