• Clojure
  • 4 lines
  • 53 views
  • 1 fork
  • Pasted by muhoo on May 20, 2012
1
2
3
4
(defmacro defpage-hack
  [url des & all]
  (let [cleaned (eval url)]
  `(defpage ~cleaned ~des ~@all)))

Did you know? CLOSE

  • There are keyboard shortcuts!
    • When Creating A Paste
      • ALT+P Toggle Private
      • CTRL+Enter Create Paste
      • ALT+W Toggle word wrap
    • When Viewing A Paste
      • ALT+G Go to a line
      • ALT+CTRL+E Edit the paste
      • ALT+R Show the raw code
  • There are URL options!
    • When Creating A Paste
      • ?lang=Javascript to default to javascript
    • When Viewing A Paste
      • #L-N Jump to line number N
?