OvermindDL1 and José, thanks for your comments! It seems that (a) I started overcomplicating things and (b) didn't really think it through.
On Apr 3, 2017 9:16 AM, "OvermindDL1" <[email protected]> wrote: Is there a gain to it beyond just accumulating the arguments then calling 'render' once they are all accumulated? On Sunday, April 2, 2017 at 9:34:01 PM UTC-6, Attila Gulyas wrote: > > Hi, > > Would there be a need for something like this? Or is there already > something like this? > > An example: > > s = "<%= a %>, <%= b %> and another <%= c %>"EEx.partial_eval_string(s)#> > "<%= a %>, <%= b %> and another <%= c %>"EEx.partial_eval_string s,[b: > "pie", c: "one"]#> "<%= a %>, pie and another one" > > > The basic implementation: > toraritte@21c4c9f > <https://github.com/toraritte/elixir/commit/21c4c9f4a326cd6e6b141dd795848d7039b6c294> > > It would be pretty easy to apply it to the `eval_*`s and > `function_from_*`s but it is just as easy to write a wrapper around them in > a current project. > > Thank you! > Attila > -- You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group. To unsubscribe from this topic, visit https://groups.google.com/d/to pic/elixir-lang-core/pYSfP3x7vwc/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/ms gid/elixir-lang-core/2d7655f0-6ccc-4337-a1f5-3a67583bff2b%40googlegroups.com <https://groups.google.com/d/msgid/elixir-lang-core/2d7655f0-6ccc-4337-a1f5-3a67583bff2b%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CADnELph6JqzovXqYLuW0K-0%3D%3DBCRWnNqjw_JKsMozgzghieRNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
