Giter Club home page Giter Club logo

Comments (3)

cgrand avatar cgrand commented on August 21, 2024

Sure, patch welcome!

On Fri, Jan 18, 2013 at 3:10 AM, Víctor M. Valenzuela <
[email protected]> wrote:

It'd be very nice if templates' arities could be overloaded, following
Clojure's syntax. Example:

(enlive/template "index.html"
([id]
[:#some_selector](content "blah" id))
([id products]
[:#blah](content %28interpose id products%29)))```
What do you think?
Victor


Reply to this email directly or view it on GitHubhttps://github.com//issues/56.

On Clojure http://clj-me.cgrand.net/
Clojure Programming http://clojurebook.com
Training, Consulting & Contracting http://lambdanext.eu/

from enlive.

vemv avatar vemv commented on August 21, 2024

I'm not too familiar with the internals of Enlive or writing such advanced
macros in general, but I'll give it a go.

Glad it'd be welcome!

On Fri, Jan 18, 2013 at 10:10 AM, Christophe Grand <[email protected]

wrote:

Sure, patch welcome!

On Fri, Jan 18, 2013 at 3:10 AM, Víctor M. Valenzuela <
[email protected]> wrote:

It'd be very nice if templates' arities could be overloaded, following
Clojure's syntax. Example:

(enlive/template "index.html"
([id]
[:#some_selector](content "blah" id))
([id products]
[:#blah](content %28interpose id products%29)))```
What do you think?
Victor


Reply to this email directly or view it on GitHub<
https://github.com/cgrand/enlive/issues/56>.

On Clojure http://clj-me.cgrand.net/
Clojure Programming http://clojurebook.com
Training, Consulting & Contracting http://lambdanext.eu/


Reply to this email directly or view it on GitHubhttps://github.com//issues/56#issuecomment-12413761.

from enlive.

vemv avatar vemv commented on August 21, 2024

Thought GitHub would automatically incorporate my commit to this issue rather than creating a new one.

So I'm closing this one and moving the discussion to #57

from enlive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.