Paste number 93918: ~(symbol (str sym))

Paste number 93918: ~(symbol (str sym))
Pasted by: dnolen
When:6 months, 2 days ago
Share:Tweet this! | http://paste.lisp.org/+20GU
Channel:None
Paste contents:
Raw Source | XML | Display As
(def layout
     (template
      (file *webdir* "template3.html")
      [{header :header, body :body, footer :footer, :as ctxt}]
      [:#header]
      (fn [n__6346__auto__]
          (if (nil? header)
              n__6346__auto__
            ((substitute header) n__6346__auto__)))
      [:#body]
      (fn [n__6346__auto__]
          (if (nil? body) n__6346__auto__ ((substitute body) n__6346__auto__)))
      [:#footer]
      (fn [n__6346__auto__]
          (if (nil? footer)
              n__6346__auto__
            ((substitute footer) n__6346__auto__)))))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.