top | item 36989972

(no title)

zambal | 2 years ago

A bit pedantic I guess, but that still uses some syntactic sugar (optional brackets and keyword syntax). Removing all syntactic sugar would look like this:

    defmodule(Foo, [{:do, def(:bar, [{:do, "baz"}])}])
Even aliases (like Foo) are also a kind of syntactic sugar for a specific type of atom (Foo is actually the atom :"Elixir.Foo")

discuss

order

sodapopcan|2 years ago

Ha, ya I meant remove the `do` sugar.