Skip to content

Instantly share code, notes, and snippets.

@hiyosi
Created February 9, 2015 17:10
Show Gist options
  • Save hiyosi/3fef4240f54230dfd7e4 to your computer and use it in GitHub Desktop.
Save hiyosi/3fef4240f54230dfd7e4 to your computer and use it in GitHub Desktop.

:method arguments in 'destructuring-bind' macro was bind to nil.

When run the sample code, the following error has occurred.

The value NIL is not of the expected type KEYWORD.

the code that I have run is the following.

(ql:quickload :myway)
(ql:quickload :clack)

(use-package :clack)
(use-package :myway)

(defvar *mapper* (make-mapper))

(connect *mapper* "/" '(200 (:content-type "text/plain") ("Hello, Clack!")))

(clack:clackup (to-app *mapper*))

so I think, argument "ENV" does not seem to have ":METHOD" parameter.

finally, this pull-request fixed a name of keyword argument, but However, I'm not sure if this is correct.

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