Files
n8n-openai-adapter/lib/elixir
Andrea Leopardi d977e6dd4a Wrap fn calls in parens in Macro.to_string/1 (#5170)
Right now, application of anonymous function literals in
Macro.to_string/2 is represented like this:

    iex> Macro.to_string(quote do: (fn x -> x end).(1))
    "fn x -> x end.(1)"

While this is valid, I think it's far more common to have such calls
with the literal fn wrapped in parens:

    (fn x -> x end).(1)

This commit makes Macro.to_string/2 behave like this.
2016-08-28 17:34:59 +02:00
..
2016-05-13 09:28:50 +02:00
2014-07-29 10:38:20 +02:00
2016-06-30 19:33:22 +02:00