Skip to content

Instantly share code, notes, and snippets.

@baweaver
Created December 27, 2019 06:55
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 baweaver/493da033aa442adac213ddf93ca39755 to your computer and use it in GitHub Desktop.
Save baweaver/493da033aa442adac213ddf93ca39755 to your computer and use it in GitHub Desktop.
(def :route
(args
(arg :verb)
(arg :path)
(optarg :options
(hash))
(blockarg :block))
(begin
(...)
(lvasgn :signature
(send nil :compile!
(lvar :verb)
(lvar :path)
(lvar :block)
(lvar :options)))
(send ...))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment