In the following code (from Brian Carper's cow-blog)

(defn login-page
  "Page to let an admin log in."
  []
  {:title "Login"
   :body [:div [:h3 "Log in"]
          (form-to [:post "/login"]
                   (form-row "Username" "username" text-field)
                   (form-row "Password" "password" password-field)
                   (submit-row "Log in"))]})

on the third line there are empty vector brackets. I believe this is
defining the function as having now parameters. Is that correct?

Thank you.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to