{"action":"created","issue":{"url":"https://api.github.com/repos/weavejester/hiccup/issues/115","labels_url":"https://api.github.com/repos/weavejester/hiccup/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/weavejester/hiccup/issues/115/comments","events_url":"https://api.github.com/repos/weavejester/hiccup/issues/115/events","html_url":"https://github.com/weavejester/hiccup/issues/115","id":98426215,"number":115,"title":"cross hiccup & mustache ideas","user":{"login":"niquola","id":32066,"avatar_url":"https://avatars.githubusercontent.com/u/32066?v=3","gravatar_id":"","url":"https://api.github.com/users/niquola","html_url":"https://github.com/niquola","followers_url":"https://api.github.com/users/niquola/followers","following_url":"https://api.github.com/users/niquola/following{/other_user}","gists_url":"https://api.github.com/users/niquola/gists{/gist_id}","starred_url":"https://api.github.com/users/niquola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niquola/subscriptions","organizations_url":"https://api.github.com/users/niquola/orgs","repos_url":"https://api.github.com/users/niquola/repos","events_url":"https://api.github.com/users/niquola/events{/privacy}","received_events_url":"https://api.github.com/users/niquola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T16:35:07Z","updated_at":"2015-07-31T16:52:17Z","closed_at":null,"body":"@weavejester, what is your opinion about logic-less templates like mustache?\r\nIs it possible to cross this ideas with hiccup and save data nature of templates:\r\n\r\n```clojure\r\n[:ul\r\n  ['for ['x 'xs]\r\n     [:li  ['link-to ['x :uri] ['x :title]]]]\r\n\r\n;; compiled into\r\n(fn [xs] \r\n   [:ul\r\n     (for [x xs] \r\n        [:li (link-to (x :uri) (x :title))])])\r\n\r\n;; link-to and for could be registered in compiler\r\n``` "},"comment":{"url":"https://api.github.com/repos/weavejester/hiccup/issues/comments/126750478","html_url":"https://github.com/weavejester/hiccup/issues/115#issuecomment-126750478","issue_url":"https://api.github.com/repos/weavejester/hiccup/issues/115","id":126750478,"user":{"login":"weavejester","id":8780,"avatar_url":"https://avatars.githubusercontent.com/u/8780?v=3","gravatar_id":"","url":"https://api.github.com/users/weavejester","html_url":"https://github.com/weavejester","followers_url":"https://api.github.com/users/weavejester/followers","following_url":"https://api.github.com/users/weavejester/following{/other_user}","gists_url":"https://api.github.com/users/weavejester/gists{/gist_id}","starred_url":"https://api.github.com/users/weavejester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weavejester/subscriptions","organizations_url":"https://api.github.com/users/weavejester/orgs","repos_url":"https://api.github.com/users/weavejester/repos","events_url":"https://api.github.com/users/weavejester/events{/privacy}","received_events_url":"https://api.github.com/users/weavejester/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T16:52:17Z","updated_at":"2015-07-31T16:52:17Z","body":"If you want to have a go at writing a library like this, go ahead. I don't think it should be part of the Hiccup library, though."}}