Skip to content

Instantly share code, notes, and snippets.

@agam
Last active November 2, 2016 22:32
Show Gist options
  • Save agam/a9cd408f6ee91c29b64b7fb393dac4c6 to your computer and use it in GitHub Desktop.
Save agam/a9cd408f6ee91c29b64b7fb393dac4c6 to your computer and use it in GitHub Desktop.
Basic CL quick start in SBCL, using `rutilsx`
;; Step 1: Get the package
(ql:quickload "rutilsx")
;; Step 2: Use it
(use-package :rutilsx)
;; Unfortunately, there is a collision between RUTILS.MISC:VOID and SB-ALIEN:VOID,
;; so select one of the two restarts to continue ...
;; Step 3: Turn on the readtable (for convenient vector/hash literals)
(named-readtables:in-readtable rutilsx-readtable)
;; This may have changed, you might need (named-readtables:in-readtable rutils.readtable:rutils-readtable)
;; Step 4: Enjoy!
@agam
Copy link
Author

agam commented Sep 26, 2016

Note: There is a conflict between the vector literal (e.g. #v(1 2 :foo "bar")) and something within SLY (but .. it's not a big deal, so either ignore it, or stick to SLIME)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment